ICONYZ
English
Git Branch icon from Codicons

Git Branch icon

codicon:git-branch

The Git Branch icon (codicon:git-branch) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Tags
gitbranch
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14 5.5C14 4.121 12.879 3 11.5 3A2.5 2.5 0 0 0 9 5.5c0 1.182.826 2.169 1.93 2.428A1.5 1.5 0 0 1 9.5 9h-3c-.565 0-1.081.195-1.5.512V4.949C6.14 4.717 7 3.707 7 2.5C7 1.121 5.879 0 4.5 0A2.5 2.5 0 0 0 2 2.5c0 1.208.86 2.217 2 2.449v6.101c-1.14.232-2 1.242-2 2.449c0 1.379 1.121 2.5 2.5 2.5s2.5-1.121 2.5-2.5a2.5 2.5 0 0 0-1.93-2.428A1.5 1.5 0 0 1 6.5 9.999h3a2.5 2.5 0 0 0 2.454-2.046A2.5 2.5 0 0 0 14 5.5m-11-3C3 1.673 3.673 1 4.5 1S6 1.673 6 2.5S5.327 4 4.5 4S3 3.327 3 2.5m3 11c0 .827-.673 1.5-1.5 1.5S3 14.327 3 13.5S3.673 12 4.5 12s1.5.673 1.5 1.5M11.5 7c-.827 0-1.5-.673-1.5-1.5S10.673 4 11.5 4s1.5.673 1.5 1.5S12.327 7 11.5 7"/></svg>

How to use the Git Branch icon

React

import { Icon } from "@iconify/react";

<Icon icon="codicon:git-branch" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="codicon:git-branch" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="codicon:git-branch" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--git-branch]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:git-branch"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="codicon:git-branch"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/git-branch.svg" alt="Git Branch icon" width="24" height="24">

Related icons in Codicons

Git Branch icon in other icon sets

Git Branch icon FAQ

Is the Git Branch icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Git Branch icon in React?

Install @iconify/react and render <Icon icon="codicon:git-branch" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Git Branch icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/git-branch.svg" alt="Git Branch icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →