Git icon
fa:git
The Git icon (fa:git) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1664 × 1792 grid. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 4
- Author
- Dave Gandy
- License
- OFL-1.1
- Size
- 1664 × 1792
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1664" height="1792" viewBox="0 0 1664 1792"><path fill="currentColor" d="M531 1514q0-100-165-100q-158 0-158 104q0 101 172 101q151 0 151-105m-59-755q0-61-30-102t-89-41q-124 0-124 145q0 135 124 135q119 0 119-137m269-324v202q-36 12-79 22q16 43 16 84q0 127-73 216.5T408 1072q-40 8-59.5 27t-19.5 58q0 31 22.5 51.5t58 32t78.5 22t86 25.5t78.5 37.5t58 64T733 1488q0 304-363 304q-69 0-130-12.5t-116-41t-87.5-82T4 1529q0-165 182-225v-4q-67-41-67-126q0-109 63-137v-4q-72-24-119.5-108.5T15 759q0-139 95-231.5T345 435q96 0 178 47q98 0 218-47m318 881H837q4-45 4-134V573q0-94-4-128h222q-4 33-4 124v613q0 89 4 134m601-222v196q-71 39-174 39q-62 0-107-20t-70-50t-39.5-78t-18.5-92t-4-103V635h2v-4q-7 0-19-1t-18-1q-21 0-59 6V445h96v-76q0-54-6-89h227q-6 41-6 165h171v190q-15 0-43.5-2t-42.5-2h-85v365q0 131 87 131q61 0 109-33m-576-947q0 58-39 101.5T949 292q-58 0-98-43.5T811 147q0-59 39.5-103T949 0q58 0 96.5 44.5T1084 147"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa/git.svg" alt="Git icon" width="24" height="24">Related icons in Font Awesome 4
Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Git icon in React?
Install @iconify/react and render <Icon icon="fa:git" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.