# GitComet
[](https://github.com/Auto-Explore/GitComet/actions/workflows/rust.yml)
[](https://discord.gg/2ufDGP8RnA)
[](https://gitcomet.dev)
[](https://autoexplore.ai)
[](LICENSE-AGPL-3.0)
[](https://github.com/Auto-Explore/gitcomet/releases/latest)
[](https://github.com/Auto-Explore/gitcomet/releases)
**Fastest Open Source Git GUI**
GitComet is built for teams that want fast Git operations with local-first privacy, familiar workflows, and open source freedom.
Available for Linux, Windows, and macOS on x86-64 and ARM64. Linux supports Wayland, X11, and WSLg.
[Documentation](https://docs.gitcomet.dev/) · [Features](https://gitcomet.dev/features/) · [GitComet Pro](https://gitcomet.dev/pro/)
### Download
Download the latest Open Source binaries/installers from [GitHub Releases](https://github.com/Auto-Explore/GitComet/releases), or see [all installation options](https://gitcomet.dev/download/). Windows installers are signed, and the macOS disk image is notarized.
Bought a GitComet Pro license? [Download the separate Pro client from your account](https://pro.gitcomet.dev/app/downloads). It installs beside the free edition.
Windows
Download the latest Windows installer or portable binary from [GitHub Releases](https://github.com/Auto-Explore/GitComet/releases).
Install from the Microsoft Store:
Homebrew (macOS / Linux)
App and `gitcomet` command from tap:
```bash
brew install --cask gitcomet
```
On Linux, the cask installs the AppImage build. If your system cannot launch AppImages, use the APT repo, the RPM, the release tarball, or the `.deb` instead.
AUR (Arch Linux)
The [`gitcomet-bin`](https://aur.archlinux.org/packages/gitcomet-bin) package repackages the release tarballs for x86_64 and aarch64 and is updated by the release workflow:
```bash
git clone https://aur.archlinux.org/gitcomet-bin.git
cd gitcomet-bin && makepkg -si
```
GURU (Gentoo Linux)
```bash
emerge --ask dev-vcs/gitcomet
```
Nix / NixOS
Run without installing:
```bash
nix run nixpkgs#gitcomet
```
Install for your user:
```bash
nix profile install nixpkgs#gitcomet
```
On NixOS, add `gitcomet` to `environment.systemPackages` in `/etc/nixos/configuration.nix` and apply it with `sudo nixos-rebuild switch`. See the [Nixpkgs package](https://search.nixos.org/packages?channel=unstable&show=gitcomet).
apt (Debian/Ubuntu)
```bash
curl -fsSL https://apt.gitcomet.dev/gitcomet-archive-keyring.gpg | sudo tee /usr/share/keyrings/gitcomet-archive-keyring.gpg >/dev/null
curl -fsSL https://apt.gitcomet.dev/gitcomet.sources | sudo tee /etc/apt/sources.list.d/gitcomet.sources >/dev/null
sudo apt update
sudo apt install gitcomet
```
If you install a Linux tarball or Homebrew binary on Debian, Ubuntu, or WSLg instead of the official `apt` package, install the GUI runtime libraries separately. GitComet uses Fontconfig to discover fonts, draws with Vulkan, or EGL when Vulkan is unavailable, and uses the Wayland libraries in Wayland sessions:
```bash
sudo apt install libfontconfig1 libxcb1 libxkbcommon0 libxkbcommon-x11-0 libvulkan1 libegl1 libwayland-client0 libwayland-egl1
```
RPM (Fedora)
Download the `.rpm` for your architecture from [GitHub Releases](https://github.com/Auto-Explore/GitComet/releases) and install it:
```bash
sudo dnf install ./gitcomet--1.x86_64.rpm
```
The RPM supports Fedora 42 and newer. It needs glibc 2.35 or newer, so RHEL 9 and its rebuilds (glibc 2.34) cannot install it.
### Requirements
GitComet requires a local Git installation of `2.53` or newer. With an older Git, GitComet shows a notice asking you to update, and features that need newer Git (such as repository maintenance) are turned off.
GitComet is built for macOS 13 (Ventura) or later. Our source review found no incompatible API calls in the GitComet and GPUI release paths reviewed. Runtime compatibility on macOS 13 and 14 remains unverified. Automated tests run on macOS 15 and 26.
### GitComet User Survey
We’re running this short survey to better understand how people use our Git GUI client in their daily work. Your feedback will help us improve the product and prioritize the features that matter most.
https://docs.google.com/forms/d/e/1FAIpQLSd8DKIl222UomSXrpv1q9rWodRlBSQo9pJDD62GbZEANTgD1A/viewform?usp=dialog
### Why GitComet
GitComet started from frustration with existing tools on huge codebases like Chromium. We could not find a product that stays responsive and functional when browsing large repositories and file diffs.
### Editions
#### Open Source
- **Price**: €0 forever
- **Usage**: Free for personal and commercial use
- **Privacy**: No account or cloud upload required; works with private repositories
- **Includes**:
- Full local-first desktop workflow
- Git remotes, [branch-scoped Pull](docs/pull.md), push, staging, commits
- Configurable automatic background fetch across open workspaces ([docs](docs/automatic-fetch.md))
- Worktrees, branching, and full history, without agent checkpoints and other tool refs ([docs](docs/hidden-refs.md))
- Bare repository browsing and conversion ([docs](docs/bare-repositories.md))
- Multi-repository workspaces and windows
- Inline and side-by-side diffs, line-level staging, and [Difftastic](docs/difftastic.md)
- 2-way and 3-way merge tools
- Interactive rebase, cherry-pick, blame, stashes, and submodules
- Built-in editor, embedded terminal, and custom themes
- Git LFS: file status, content downloads, locks and tracking ([docs](docs/git-lfs.md))
- git-annex: content get/drop/copy/move, special remotes, adjusted branches ([docs](docs/git-annex.md))
#### GitComet Pro
[](https://gitcomet.dev/pro/)
GitComet Pro is available now as a separate desktop app for Linux, macOS, and Windows. Every license includes everything in Open Source, plus:
- Pull request review, comments, approval, and merging on GitHub, GitLab, Azure DevOps, Bitbucket, Gitea, and Forgejo, with capabilities depending on the forge
- Cloud and self-hosted forge connections, with several accounts at once
- Coding agent sessions in History: Claude Code, Codex, OpenCode, and Copilot CLI
- Optional AI for commit messages, explanations, change notes, and pull request descriptions, using your own provider or a local model
- Projects and per-project Git identity
| License | Price | Details |
| --- | --- | --- |
| Personal | €4 / month | Billed annually, plus VAT where applicable. For your own personal or commercial work, on up to five computers. |
| Organization | €4 / user / month | Billed annually, plus VAT where applicable. Minimum 2 seats. Includes team management and Single Sign-On (SSO) support. |
Forge credentials stay in your operating system's keychain, and pull requests, comments, and merges go directly from your desktop to the forge. The Pro service handles your account and license. AI is optional and sends requests to the provider you choose.
[Compare plans and buy a license](https://gitcomet.dev/pro/#pricing). After purchase, [download and install the Pro client](https://pro.gitcomet.dev/app/downloads), then choose **Connect this machine** and approve the displayed code in your browser. See the [Pro getting started guide](https://docs.gitcomet.dev/gitcomet-pro/getting-started/) for installation and activation.
### Build from source
On Linux, install Clang and mold first; see [developer setup](CONTRIBUTING.md#getting-started).
```bash
cargo build -p gitcomet --features ui-gpui,gix
cargo run -p gitcomet --features ui-gpui,gix -- /path/to/repo
```
### Contributing
Developer setup, workspace layout, testing, and coverage docs live in `CONTRIBUTING.md`.
### Using as a Git difftool / mergetool
GitComet can be used as a standalone diff and merge tool invoked by `git difftool` and `git mergetool`. It supports both headless (algorithm-only) and GUI (interactive GPUI window) modes.
#### Setup / uninstall (recommended)
```bash
# Configure Git globally to use GitComet for both difftool + mergetool
gitcomet setup
# Remove GitComet integration safely
gitcomet uninstall
```
- Use `--local` to target only the current repository instead of global config.
- Use `--dry-run` to print the commands before applying changes.
This setup registers both headless and GUI variants with `guiDefault=auto`, so Git chooses GUI when display is available and falls back to headless otherwise.
`setup`/`uninstall` are designed to be idempotent.
Show detailed setup/uninstall behavior and manual commands
Built-in `setup` writes these Git config entries:
```bash
GITCOMET_BIN="/absolute/path/to/gitcomet"
# Headless tool: algorithm-only merge/diff for CI, scripts, and no-display environments
git config --global merge.tool gitcomet
git config --global mergetool.gitcomet.cmd \
"'$GITCOMET_BIN' mergetool --base \"\$BASE\" --local \"\$LOCAL\" --remote \"\$REMOTE\" --merged \"\$MERGED\""
git config --global mergetool.trustExitCode true
git config --global mergetool.gitcomet.trustExitCode true
git config --global mergetool.prompt false
git config --global diff.tool gitcomet
git config --global difftool.gitcomet.cmd \
"'$GITCOMET_BIN' difftool --local \"\$LOCAL\" --remote \"\$REMOTE\" --path \"\$MERGED\""
git config --global difftool.trustExitCode true
git config --global difftool.gitcomet.trustExitCode true
git config --global difftool.prompt false
# GUI tool: opens focused GPUI windows for interactive diff/merge
git config --global merge.guitool gitcomet-gui
git config --global mergetool.gitcomet-gui.cmd \
"'$GITCOMET_BIN' mergetool --gui --base \"\$BASE\" --local \"\$LOCAL\" --remote \"\$REMOTE\" --merged \"\$MERGED\""
git config --global mergetool.gitcomet-gui.trustExitCode true
git config --global diff.guitool gitcomet-gui
git config --global difftool.gitcomet-gui.cmd \
"'$GITCOMET_BIN' difftool --gui --local \"\$LOCAL\" --remote \"\$REMOTE\" --path \"\$MERGED\""
git config --global difftool.gitcomet-gui.trustExitCode true
# Auto-select GUI tool when DISPLAY is available, headless otherwise
git config --global mergetool.guiDefault auto
git config --global difftool.guiDefault auto
```
Built-in `setup` stores previous user values for shared generic keys under `gitcomet.backup.*` (when needed).
Built-in `uninstall` restores those backups only when the key still has the setup-managed value. If the user changed a setting after setup, uninstall preserves that user-edited value and then removes GitComet-specific keys.
#### CLI modes
**Browser (default):**
```bash
gitcomet [path] [--foreground]
```
On Unix, release builds relaunch the browser in a separate session when standard input is a terminal. Debug builds stay attached by default. For a detached launch, the command returns success once its first native window opens (including a first-run dialog), or an existing browser accepts the request. Startup diagnostics remain visible. Failure before that acknowledgement returns exit code 2; startup times out after 60 seconds and stops the launched process group. If the detached copy cannot be started at all (for example, no writable socket directory), the browser runs in the foreground instead. The command does not wait for repository loading, onboarding completion, or eventual window closure.
Pass `--foreground` (or set `GITCOMET_FOREGROUND=1`) to keep a newly started browser attached for continuous diagnostics or to wait for completion in a script. A script launched from a terminal can inherit terminal input and detach too; use `gitcomet --foreground "$repo"` to wait for a browser that the script starts. Requests forwarded to an existing browser still return after it accepts the request. Finder, `open`, and launches without terminal input do not use automatic terminal detachment. Focused difftool and mergetool modes continue to wait and report their final exit status.
`GITCOMET_FOREGROUND` accepts `1`/`true` and `0`/`false` (case-insensitive). An empty or unset value uses the build default: attached with debug assertions enabled, automatic detachment otherwise. Set `GITCOMET_FOREGROUND=0` to opt into detachment in a debug build. Other values are errors; `--foreground` overrides the environment.
Products built on the library opt into terminal detachment with `AppLaunch::run_cli()` or `App::run()`. Existing `AppLaunch::run()` and `run_with_args()` calls do not automatically detach. Use `run_cli()` at a process entry point whose configuration can be recreated when its executable restarts.
CLI requests to an existing browser are forwarded before preparation hooks or extension registration. A new browser performs that preparation once in its own process. Startup diagnostics use the caller's standard error; a helper started before readiness can retain that stream after the launcher returns.
**Difftool:**
```bash
gitcomet difftool --local --remote [--path ] [--label-left