- Icon Monks
- Development icons
- Git Compare
Git Compare icon
The git compare icon is a free development icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the git compare icon
Use it to stand for git compare, diff and branches. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline.
Pairs well with the a b test slash, ai gateway and api icons. Use the same weight for all of them so they read as one set.
When to use the git compare icon
It belongs to the development set, made for code, terminals, version control and developer tools. Pair it with the related icons below so a screen stays in one visual style.
Use the git compare icon in your code
React
import { GitCompare } from '@icon-monks/react';
<GitCompare size={24} />Vue
<script setup>
import { GitCompare } from '@icon-monks/vue';
</script>
<GitCompare :size="24" />Web component
<icon-monks name="git-compare" size="24"></icon-monks>Icon font
<i class="im im-git-compare"></i>Flutter
Icon(IconMonks.gitCompare)SwiftUI
Image(iconMonks: .gitCompare)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.GitCompare
Icon(IconMonks.Regular.GitCompare, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related development icons
git-branch
git-branch-minus
git-cherry-pick
git-commit
git-diff
git-fork
git-merge
git-merge-queue
git-merge-warning
git-rebase
git-pull-request
git-pull-request-closed
git-pull-request-draft
git-repository
a-b-test-slash
ai-gateway
api
api-gateway
Similar icons in other categories
git-logo
arrows-diff
file-diff
chat-diff
a-b-test
file-clock
greater-than
greater-than-or-equal
image-compare
less-than
less-than-or-equal
ratio
Questions about the git compare icon
Is the git compare icon free for commercial use?
Yes. The git compare icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the git compare icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
Which weight of the git compare icon should I use?
Use regular at 24 px for most interfaces, bold at 16 px or on busy screens, thin or light for large display sizes, fill for a selected or active state, and duotone for illustrations and empty states.
Last updated with version 0.4.3. Release notes