All Octicons

git-branch

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

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.