Two branches exchanging arrows, for a two-way diff and bidirectional sync. On a 24×24 grid in stroke, duotone and fill, free under MIT.

Gitv0.1.0Added Updated
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M6 9V16C6 17.1046 6.89543 18 8 18H10M14 6H16C17.1046 6 18 6.89543 18 8V15M14.7929 4L13.1465 5.64645C12.9512 5.84171 12.9512 6.15829 13.1465 6.35355L14.7929 8M9.2071 16L10.8535 17.6464C11.0488 17.8417 11.0488 18.1583 10.8535 18.3536L9.2071 20M6 3C7.65685 3 9 4.34315 9 6C9 7.65685 7.65685 9 6 9C4.34315 9 3 7.65685 3 6C3 4.34315 4.34315 3 6 3ZM18 15C19.6569 15 21 16.3431 21 18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3431 16.3431 15 18 15Z"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • two way diff
  • sync
  • exchange
  • bidirectional
  • version control
  • repository
  • source control
  • vcs

Related icons

The rest of the git family first, then the Git shelf.

FAQ

Answered from git-compare-arrows's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the git-compare-arrows icon for?
Two branches exchanging arrows, for a two-way diff and bidirectional sync. It is filed under Git in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as two way diff, sync, exchange, bidirectional, version control, repository, source control and vcs, and the browser's search matches all of those.
What styles does the git-compare-arrows icon come in?
All three: stroke, duotone and fill. They are drawn from the same geometry, so swapping weight never moves anything.
Is there a square or circle version of git-compare-arrows?
No. git-compare-arrows is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with git-compare-arrows?
git-arrow-right, git-branch, git-branch-minus, git-branch-plus, git-check and git-commit-horizontal, and 12 more, all shown below. The git family is listed first, then the rest of the Git shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import git-compare-arrows in React?
<GitCompareArrows /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <GitCompareArrows size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the git-compare-arrows SVG?
icons/stroke/git-compare-arrows.svg, icons/duotone/git-compare-arrows.svg and icons/fill/git-compare-arrows.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was git-compare-arrows added to the set?
Added 8 Aug 2026, and last redrawn 10 Aug 2026. It ships in v0.1.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.