All Octicons
git-branch
Octicon sizes navigation
React
import {GitBranchIcon} from '@primer/octicons-react' <GitBranchIcon size={24} />
Rails
<%= render(Primer::Beta::Octicon.new(:"git-branch", size: :medium)) %>
Jekyll
{% octicon git-branch height:24 %}
Figma
This icon is called git-branch-24
in Primer's Octicons library.