Git icon
fontisto:git
The Git icon (fontisto:git) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 22 × 24 grid. Fontisto icons are released under the MIT 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
- Fontisto
- Author
- Kenan Gündoğan
- License
- MIT
- Size
- 22 × 24
- Category
- Brand
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 22 24"><path fill="currentColor" d="M7.058 20.277q0-1.339-2.21-1.339q-2.116 0-2.116 1.393q0 1.353 2.303 1.353q2.022-.003 2.022-1.406zm-.79-10.112l.002-.083c0-.48-.15-.925-.406-1.29l.005.007a1.38 1.38 0 0 0-1.196-.549h.004q-1.661 0-1.661 1.942Q3.016 12 4.677 12q1.592.001 1.592-1.834zm3.6-4.339v2.706q-.48.16-1.058.294c.132.333.211.719.214 1.123v.002l.002.118a4.42 4.42 0 0 1-.986 2.79l.007-.008a4.3 4.3 0 0 1-2.615 1.503l-.025.003a1.56 1.56 0 0 0-.802.363l.002-.002a1.03 1.03 0 0 0-.26.781v-.004v.02c0 .266.116.505.301.669l.001.001c.217.19.476.337.762.425l.015.004q.475.154 1.051.294t1.152.342c.402.14.749.31 1.072.515l-.021-.012c.328.215.591.504.771.844l.006.012c.191.363.303.793.303 1.249l-.001.074v-.004q.003 4.073-4.855 4.073h-.046q-.901-.002-1.75-.177l.056.01a6 6 0 0 1-1.586-.564l.033.016a2.95 2.95 0 0 1-1.165-1.085l-.007-.013a3.2 3.2 0 0 1-.436-1.62l.001-.09v.004q0-2.21 2.438-3.014v-.054a1.84 1.84 0 0 1-.898-1.692v.005q0-1.46.844-1.835v-.054a2.96 2.96 0 0 1-1.592-1.436l-.008-.017a4.46 4.46 0 0 1-.64-2.212v-.005l-.001-.11a4.14 4.14 0 0 1 1.272-2.99l.001-.001a4.32 4.32 0 0 1 3.036-1.241l.117.002h-.006h.031c.866 0 1.678.234 2.376.642l-.022-.012a8.1 8.1 0 0 0 2.976-.651l-.053.02zm4.259 11.799h-2.971q.054-.602.054-1.794V7.675q0-1.259-.054-1.714h2.974q-.054.442-.054 1.661v8.21q0 1.192.054 1.794zm8.049-2.974v2.629a4.7 4.7 0 0 1-2.338.522h.008l-.085.001c-.486 0-.949-.099-1.37-.278l.023.009a2.54 2.54 0 0 1-.935-.667l-.002-.003a2.9 2.9 0 0 1-.524-1.024l-.005-.021a6 6 0 0 1-.246-1.206l-.002-.026q-.054-.59-.054-1.379V8.504h.026V8.45q-.094 0-.254-.014t-.24-.014a5.5 5.5 0 0 0-.823.085l.033-.005V5.958h1.286V4.94l.001-.111a7 7 0 0 0-.086-1.122l.005.041h3.04a18 18 0 0 0-.08 2.231v-.022h2.288v2.545q-.201 0-.582-.026t-.569-.026h-1.135v4.888q0 1.754 1.165 1.754h.036c.532 0 1.026-.165 1.432-.447l-.008.005zM14.464 1.969v.023c0 .517-.199.987-.524 1.339l.001-.001a1.66 1.66 0 0 1-1.263.583h-.024h.001h-.024c-.513 0-.973-.225-1.287-.581l-.002-.002a1.94 1.94 0 0 1-.536-1.341v-.042c0-.523.201-1 .53-1.356l-.001.001a1.7 1.7 0 0 1 1.288-.59h.033h-.002h.029c.508 0 .962.231 1.262.594l.002.003c.32.358.515.833.515 1.354v.02v-.001z"/></svg>How to use the Git icon
React
import { Icon } from "@iconify/react";
<Icon icon="fontisto:git" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fontisto:git" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fontisto:git" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fontisto--git]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fontisto -->
<div class="i-fontisto:git"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fontisto:git"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fontisto/git.svg" alt="Git icon" width="24" height="24">Related icons in Fontisto
Git icon in other icon sets
Git icon FAQ
Is the Git icon free for commercial use?
Yes. Fontisto icons are released under the MIT 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="fontisto: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/fontisto/git.svg" alt="Git icon">, or paste the SVG code inline to style it with CSS.