# git-commit icon

Git commit. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/git-commit

- Category: Development
- Use it for: git commit, commit, commit changes
- Tags: git, commit, node, version-control, vcs, history, developer
- Family: diff, diff-modified, git-branch, git-branch-alert, git-branch-check, git-branch-pencil, git-branch-plus, git-branch-shield, git-branch-sync, git-branch-x, git-compare, git-fork, git-merge, git-pull-request, git-pull-request-closed, git-pull-request-draft, git-pull-request-plus
- Component name: GitCommitIcon
- Added: 2026-10-14

## Alternatives

- `git-graph`: the commit history as a graph (commit-graph)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/git-commit.svg · PNG https://gentleface.com/png/line-round/16/git-commit.png · https://gentleface.com/png/line-round/32/git-commit.png · https://gentleface.com/png/line-round/48/git-commit.png
- line-soft: https://gentleface.com/svg/line-soft/16/git-commit.svg · PNG https://gentleface.com/png/line-soft/16/git-commit.png · https://gentleface.com/png/line-soft/32/git-commit.png · https://gentleface.com/png/line-soft/48/git-commit.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/git-commit.svg · PNG https://gentleface.com/png/line-sharp/16/git-commit.png · https://gentleface.com/png/line-sharp/32/git-commit.png · https://gentleface.com/png/line-sharp/48/git-commit.png
- solid-round: https://gentleface.com/svg/solid-round/16/git-commit.svg · PNG https://gentleface.com/png/solid-round/16/git-commit.png · https://gentleface.com/png/solid-round/32/git-commit.png · https://gentleface.com/png/solid-round/48/git-commit.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/git-commit.svg · PNG https://gentleface.com/png/solid-soft/16/git-commit.png · https://gentleface.com/png/solid-soft/32/git-commit.png · https://gentleface.com/png/solid-soft/48/git-commit.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/git-commit.svg · PNG https://gentleface.com/png/solid-sharp/16/git-commit.png · https://gentleface.com/png/solid-sharp/32/git-commit.png · https://gentleface.com/png/solid-sharp/48/git-commit.png

The SVG of every style: https://gentleface.com/icons/git-commit.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z"/></svg>
```

### React

```tsx
// Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
import type { SVGProps } from 'react';

export function GitCommitIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/git-commit.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit. Takes the text color. */
.icon-git-commit {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#git-commit"/></svg>
```

### SwiftUI

```swift
// Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
import SwiftUI

struct GitCommitIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.144, y: 1.144))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 7.241, y: 1.048), control2: CGPoint(x: 7.359, y: 1))
        p.addCurve(to: CGPoint(x: 7.856, y: 1.144), control1: CGPoint(x: 7.641, y: 1), control2: CGPoint(x: 7.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 8, y: 1.5), control1: CGPoint(x: 7.952, y: 1.241), control2: CGPoint(x: 8, y: 1.359))
        p.addLine(to: CGPoint(x: 8, y: 4.035))
        p.addCurve(to: CGPoint(x: 8.788, y: 4.246), control1: CGPoint(x: 8.269, y: 4.074), control2: CGPoint(x: 8.532, y: 4.144))
        p.addCurve(to: CGPoint(x: 9.975, y: 5.025), control1: CGPoint(x: 9.238, y: 4.424), control2: CGPoint(x: 9.633, y: 4.683))
        p.addCurve(to: CGPoint(x: 10.754, y: 6.212), control1: CGPoint(x: 10.317, y: 5.367), control2: CGPoint(x: 10.576, y: 5.762))
        p.addCurve(to: CGPoint(x: 11, y: 7.5), control1: CGPoint(x: 10.918, y: 6.625), control2: CGPoint(x: 11, y: 7.055))
        p.addCurve(to: CGPoint(x: 10.754, y: 8.788), control1: CGPoint(x: 11, y: 7.945), control2: CGPoint(x: 10.918, y: 8.375))
        p.addCurve(to: CGPoint(x: 9.975, y: 9.975), control1: CGPoint(x: 10.576, y: 9.238), control2: CGPoint(x: 10.317, y: 9.633))
        p.addCurve(to: CGPoint(x: 8.788, y: 10.754), control1: CGPoint(x: 9.633, y: 10.317), control2: CGPoint(x: 9.238, y: 10.576))
        p.addCurve(to: CGPoint(x: 8, y: 10.965), control1: CGPoint(x: 8.532, y: 10.856), control2: CGPoint(x: 8.269, y: 10.926))
        p.addLine(to: CGPoint(x: 8, y: 13.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 13.856), control1: CGPoint(x: 8, y: 13.641), control2: CGPoint(x: 7.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 14), control1: CGPoint(x: 7.759, y: 13.952), control2: CGPoint(x: 7.641, y: 14))
        p.addCurve(to: CGPoint(x: 7.144, y: 13.856), control1: CGPoint(x: 7.359, y: 14), control2: CGPoint(x: 7.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 7, y: 13.5), control1: CGPoint(x: 7.048, y: 13.759), control2: CGPoint(x: 7, y: 13.641))
        p.addLine(to: CGPoint(x: 7, y: 10.965))
        p.addCurve(to: CGPoint(x: 6.212, y: 10.754), control1: CGPoint(x: 6.731, y: 10.926), control2: CGPoint(x: 6.468, y: 10.856))
        p.addCurve(to: CGPoint(x: 5.025, y: 9.975), control1: CGPoint(x: 5.762, y: 10.576), control2: CGPoint(x: 5.367, y: 10.317))
        p.addCurve(to: CGPoint(x: 4.246, y: 8.788), control1: CGPoint(x: 4.683, y: 9.633), control2: CGPoint(x: 4.424, y: 9.238))
        p.addCurve(to: CGPoint(x: 4, y: 7.5), control1: CGPoint(x: 4.082, y: 8.375), control2: CGPoint(x: 4, y: 7.945))
        p.addCurve(to: CGPoint(x: 4.246, y: 6.212), control1: CGPoint(x: 4, y: 7.055), control2: CGPoint(x: 4.082, y: 6.625))
        p.addCurve(to: CGPoint(x: 5.025, y: 5.025), control1: CGPoint(x: 4.424, y: 5.762), control2: CGPoint(x: 4.683, y: 5.367))
        p.addCurve(to: CGPoint(x: 6.212, y: 4.246), control1: CGPoint(x: 5.367, y: 4.683), control2: CGPoint(x: 5.762, y: 4.424))
        p.addCurve(to: CGPoint(x: 7, y: 4.035), control1: CGPoint(x: 6.468, y: 4.144), control2: CGPoint(x: 6.731, y: 4.074))
        p.addLine(to: CGPoint(x: 7, y: 1.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 1.144), control1: CGPoint(x: 7, y: 1.359), control2: CGPoint(x: 7.048, y: 1.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.732, y: 9.268))
        p.addCurve(to: CGPoint(x: 6.58, y: 9.824), control1: CGPoint(x: 5.976, y: 9.512), control2: CGPoint(x: 6.259, y: 9.697))
        p.addCurve(to: CGPoint(x: 7.5, y: 10), control1: CGPoint(x: 6.875, y: 9.941), control2: CGPoint(x: 7.182, y: 10))
        p.addCurve(to: CGPoint(x: 8.42, y: 9.824), control1: CGPoint(x: 7.818, y: 10), control2: CGPoint(x: 8.125, y: 9.941))
        p.addCurve(to: CGPoint(x: 9.268, y: 9.268), control1: CGPoint(x: 8.741, y: 9.697), control2: CGPoint(x: 9.024, y: 9.512))
        p.addCurve(to: CGPoint(x: 9.824, y: 8.42), control1: CGPoint(x: 9.512, y: 9.024), control2: CGPoint(x: 9.697, y: 8.741))
        p.addCurve(to: CGPoint(x: 10, y: 7.5), control1: CGPoint(x: 9.941, y: 8.125), control2: CGPoint(x: 10, y: 7.818))
        p.addCurve(to: CGPoint(x: 9.824, y: 6.58), control1: CGPoint(x: 10, y: 7.182), control2: CGPoint(x: 9.941, y: 6.875))
        p.addCurve(to: CGPoint(x: 9.268, y: 5.732), control1: CGPoint(x: 9.697, y: 6.259), control2: CGPoint(x: 9.512, y: 5.976))
        p.addCurve(to: CGPoint(x: 8.42, y: 5.176), control1: CGPoint(x: 9.024, y: 5.488), control2: CGPoint(x: 8.741, y: 5.303))
        p.addCurve(to: CGPoint(x: 7.5, y: 5), control1: CGPoint(x: 8.125, y: 5.059), control2: CGPoint(x: 7.818, y: 5))
        p.addCurve(to: CGPoint(x: 6.58, y: 5.176), control1: CGPoint(x: 7.182, y: 5), control2: CGPoint(x: 6.875, y: 5.059))
        p.addCurve(to: CGPoint(x: 5.732, y: 5.732), control1: CGPoint(x: 6.259, y: 5.303), control2: CGPoint(x: 5.976, y: 5.488))
        p.addCurve(to: CGPoint(x: 5.176, y: 6.58), control1: CGPoint(x: 5.488, y: 5.976), control2: CGPoint(x: 5.303, y: 6.259))
        p.addCurve(to: CGPoint(x: 5, y: 7.5), control1: CGPoint(x: 5.059, y: 6.875), control2: CGPoint(x: 5, y: 7.182))
        p.addCurve(to: CGPoint(x: 5.176, y: 8.42), control1: CGPoint(x: 5, y: 7.818), control2: CGPoint(x: 5.059, y: 8.125))
        p.addCurve(to: CGPoint(x: 5.732, y: 9.268), control1: CGPoint(x: 5.303, y: 8.741), control2: CGPoint(x: 5.488, y: 9.024))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// GitCommitIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val GitCommitIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "git-commit", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(GitCommitIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_git_commit.xml · Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
import 'package:flutter/widgets.dart';

class GitCommitIcon extends StatelessWidget {
  const GitCommitIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _GitCommitIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _GitCommitIconPainter extends CustomPainter {
  _GitCommitIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(7.144, 1.144)
      ..cubicTo(7.241, 1.048, 7.359, 1, 7.5, 1)
      ..cubicTo(7.641, 1, 7.759, 1.048, 7.856, 1.144)
      ..cubicTo(7.952, 1.241, 8, 1.359, 8, 1.5)
      ..lineTo(8, 4.035)
      ..cubicTo(8.269, 4.074, 8.532, 4.144, 8.788, 4.246)
      ..cubicTo(9.238, 4.424, 9.633, 4.683, 9.975, 5.025)
      ..cubicTo(10.317, 5.367, 10.576, 5.762, 10.754, 6.212)
      ..cubicTo(10.918, 6.625, 11, 7.055, 11, 7.5)
      ..cubicTo(11, 7.945, 10.918, 8.375, 10.754, 8.788)
      ..cubicTo(10.576, 9.238, 10.317, 9.633, 9.975, 9.975)
      ..cubicTo(9.633, 10.317, 9.238, 10.576, 8.788, 10.754)
      ..cubicTo(8.532, 10.856, 8.269, 10.926, 8, 10.965)
      ..lineTo(8, 13.5)
      ..cubicTo(8, 13.641, 7.952, 13.759, 7.856, 13.856)
      ..cubicTo(7.759, 13.952, 7.641, 14, 7.5, 14)
      ..cubicTo(7.359, 14, 7.241, 13.952, 7.144, 13.856)
      ..cubicTo(7.048, 13.759, 7, 13.641, 7, 13.5)
      ..lineTo(7, 10.965)
      ..cubicTo(6.731, 10.926, 6.468, 10.856, 6.212, 10.754)
      ..cubicTo(5.762, 10.576, 5.367, 10.317, 5.025, 9.975)
      ..cubicTo(4.683, 9.633, 4.424, 9.238, 4.246, 8.788)
      ..cubicTo(4.082, 8.375, 4, 7.945, 4, 7.5)
      ..cubicTo(4, 7.055, 4.082, 6.625, 4.246, 6.212)
      ..cubicTo(4.424, 5.762, 4.683, 5.367, 5.025, 5.025)
      ..cubicTo(5.367, 4.683, 5.762, 4.424, 6.212, 4.246)
      ..cubicTo(6.468, 4.144, 6.731, 4.074, 7, 4.035)
      ..lineTo(7, 1.5)
      ..cubicTo(7, 1.359, 7.048, 1.241, 7.144, 1.144)
      ..close()
      ..moveTo(5.732, 9.268)
      ..cubicTo(5.976, 9.512, 6.259, 9.697, 6.58, 9.824)
      ..cubicTo(6.875, 9.941, 7.182, 10, 7.5, 10)
      ..cubicTo(7.818, 10, 8.125, 9.941, 8.42, 9.824)
      ..cubicTo(8.741, 9.697, 9.024, 9.512, 9.268, 9.268)
      ..cubicTo(9.512, 9.024, 9.697, 8.741, 9.824, 8.42)
      ..cubicTo(9.941, 8.125, 10, 7.818, 10, 7.5)
      ..cubicTo(10, 7.182, 9.941, 6.875, 9.824, 6.58)
      ..cubicTo(9.697, 6.259, 9.512, 5.976, 9.268, 5.732)
      ..cubicTo(9.024, 5.488, 8.741, 5.303, 8.42, 5.176)
      ..cubicTo(8.125, 5.059, 7.818, 5, 7.5, 5)
      ..cubicTo(7.182, 5, 6.875, 5.059, 6.58, 5.176)
      ..cubicTo(6.259, 5.303, 5.976, 5.488, 5.732, 5.732)
      ..cubicTo(5.488, 5.976, 5.303, 6.259, 5.176, 6.58)
      ..cubicTo(5.059, 6.875, 5, 7.182, 5, 7.5)
      ..cubicTo(5, 7.818, 5.059, 8.125, 5.176, 8.42)
      ..cubicTo(5.303, 8.741, 5.488, 9.024, 5.732, 9.268)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_GitCommitIconPainter old) => old.color != color;
}
```
