git from Humbleicons by Jiří Zralý · Regular · MIT Free for personal and commercial use.

Name
git
Set
Humbleicons
Style
Regular
Viewbox
24×24
License
MIT

The same icon in other sets

Use the git icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 12l-4-4m0 0L9 5m3 3v8m-9.293-4.707l8.586-8.586a1 1 0 0 1 1.414 0l8.586 8.586a1 1 0 0 1 0 1.414l-8.586 8.586a1 1 0 0 1-1.414 0l-8.586-8.586a1 1 0 0 1 0-1.414M13 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0m4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>

React

import type { SVGProps } from "react";

export function HumbleiconsGit(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="m16 12l-4-4m0 0L9 5m3 3v8m-9.293-4.707l8.586-8.586a1 1 0 0 1 1.414 0l8.586 8.586a1 1 0 0 1 0 1.414l-8.586 8.586a1 1 0 0 1-1.414 0l-8.586-8.586a1 1 0 0 1 0-1.414M13 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0m4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 12l-4-4m0 0L9 5m3 3v8m-9.293-4.707l8.586-8.586a1 1 0 0 1 1.414 0l8.586 8.586a1 1 0 0 1 0 1.414l-8.586 8.586a1 1 0 0 1-1.414 0l-8.586-8.586a1 1 0 0 1 0-1.414M13 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0m4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-4-4a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>
</template>

CSS

.icon-git {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m16%2012l-4-4m0%200L9%205m3%203v8m-9.293-4.707l8.586-8.586a1%201%200%200%201%201.414%200l8.586%208.586a1%201%200%200%201%200%201.414l-8.586%208.586a1%201%200%200%201-1.414%200l-8.586-8.586a1%201%200%200%201%200-1.414M13%2016a1%201%200%201%201-2%200a1%201%200%200%201%202%200m4-4a1%201%200%201%201-2%200a1%201%200%200%201%202%200m-4-4a1%201%200%201%201-2%200a1%201%200%200%201%202%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m16%2012l-4-4m0%200L9%205m3%203v8m-9.293-4.707l8.586-8.586a1%201%200%200%201%201.414%200l8.586%208.586a1%201%200%200%201%200%201.414l-8.586%208.586a1%201%200%200%201-1.414%200l-8.586-8.586a1%201%200%200%201%200-1.414M13%2016a1%201%200%201%201-2%200a1%201%200%200%201%202%200m4-4a1%201%200%201%201-2%200a1%201%200%200%201%202%200m-4-4a1%201%200%201%201-2%200a1%201%200%200%201%202%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/humbleicons/git.svg?color=%231a73e8&size=48