IconsLibrary

Git-compare Icon

Animation

Speed
Playback

Appearance

Colour
Original
Absolute stroke width
56px

More from this family

About the Git Compare Icon

In a developer interface, it tells users they are about to inspect changes rather than apply them. It works as a comparison action, not a merge or sync action, so the label or nearby text has to carry the exact scope.

Good for
toolbarnavigation bardashboard carddata tableempty state
Tags
git comparecomparediffgit diffcompare branchescompare changesdevelopmentversion controlcode reviewrepositoriesgit

Frequently Asked Questions

What does the Git Compare Icon mean?

It signals that the user is about to inspect differences between two Git refs, such as branches, commits, or tags. The convention exists because compare is a read-only review step, while merge and checkout change repository state. A good example is a toolbar button that opens a diff between the current branch and main. Avoid using it for branch creation or merging, because users will expect a review view, not a write action.

Where should I use the Git Compare Icon?

Place it next to the label that names the comparison target, usually in a toolbar, branch list, or repository header. The symbol works best when it sits beside selected branch names, commit hashes, or tags so the scope is obvious at a glance. A compare control buried alone in a menu becomes ambiguous, especially in multi-branch tools. If the page is more about history than comparison, use version history or git graph instead.

What is the difference between the Git Compare Icon and the Git Merge Icon?

Merge combines changes; compare only inspects differences.

Is there an animated Git Compare Icon?

Yes. Press play above to see the Git Compare Icon move, set its speed and playback, then download it as GIF, Lottie or MP4. Use it on compare buttons in repo toolbars, especially when the label already says Compare.

Can I download the Git Compare Icon as PNG or SVG?

Yes. Download the Git Compare Icon as PNG, SVG, WebP, AVIF and JPEG, or copy it as React, Vue or Svelte code.