Git
The Git icon represents the Git version control system, widely used in software development to manage code changes.
Exports at 22 × 24 px
Code
Git in your framework
In any framework. Customize it above, and the code follows.
export const GitIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 22 24" {...props}>
<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>
);Other libraries
Git in 8 more libraries
Each library draws it its own way. Open one to compare.
Fontisto
More like it
Icons that share its tags, in the same style.
Search Fontisto
Skip the copy and paste. With Pro, your AI agent finds and installs any Fontisto icon from a prompt.
Get ProTags
Browse by tag
Git is tagged development, software, technology and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Fontisto MCP, with Pro
Ask for Git or any of 615 Fontisto icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Git icon means and where it's used, then how to install, style, label and license it.
The Git icon represents the Git version control system, widely used in software development to manage code changes. It is a symbol of collaboration and version control in the tech industry. The Git logo has become an important part of the developer community.
In real-world applications, the Git icon is often used in software development platforms, coding tools, and online communities. For example, it may be used to indicate a Git repository or to promote collaboration and version control.
From a UX perspective, the Git icon helps users understand the context of code management and collaboration. It can also be used to provide a visual cue for users to engage with code and development tools.
Git is one of 615 icons in Fontisto, made by Kenan Gündoğan and released under MIT. It is drawn on a 22 × 24 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds GitIcon to components/icons/fontisto-git.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed GitIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Git icon, or any of 615 Fontisto icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 22 × 24 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Git", so screen readers say what it does.
Yes. GitIcon passes every SVG prop to the svg element, so <GitIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Fontisto, Kenan Gündoğan and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Git. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are development, software, technology, coding and version-control. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Git in another set.
4.9 out of 5 from 150+ developers
Install Git from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro