How to uninstall SourceGit on Mac
SourceGit is an open-source Git desktop GUI client for visually managing branches, commit graphs, interactive rebasing, and diffs. Removing SourceGit only removes the desktop interface; it never touches your local Git repositories, working directories, commit histories, .git metadata, global Git configuration (~/.gitconfig), or SSH keys (~/.ssh). However, your bookmarked repository list, folder groups, and UI layout preferences are kept in Application Support. Copy ~/Library/Application Support/SourceGit first if you want to preserve your repository bookmarks. This guide covers the notarized Mac app from the SourceGit project and Homebrew cask sourcegit.
Quit and remove the app
- Press Command + Q inside SourceGit, or choose SourceGit › Quit SourceGit.
- Open Finder, navigate to Applications, and drag
SourceGit.appto the Trash.
Review local data
The support folder was verified during the recorded test. The saved-state path is declared in the Homebrew cask. In Finder, press Shift + Command + G to inspect each path. Skip any path that is not present on your system.
| Location | What it holds | What to do |
|---|---|---|
~/Library/Application Support/SourceGit |
Repository bookmarks, tab groups, and UI preferences | Desktop app data, such as the repository list. Listed for review, and not selected while Remove data and settings with apps is off. This is not a repository. |
~/Library/Saved Application State/com.sourcegit.app.savedState |
Saved window restoration state | Saved window state named by the cask. This test did not find it. |
Check the result
pgrep -il SourceGit
ls -ld "/Applications/SourceGit.app" "$HOME/Library/Application Support/SourceGit" "$HOME/Library/Saved Application State/com.sourcegit.app.savedState"
- No output from
pgrepmeans no SourceGit process is running. - A printed line from
pgrepindicates an active process. Verify it in Activity Monitor before continuing. - An error from
pgrepdoes not prove the app has quit. - A path printed by
lsis still present on disk. No such file or directoryconfirms that path has been completely removed.Permission deniedmeans your account lacks read access for that directory. Check your Git repositories separately.
If you installed it with Homebrew
brew uninstall --cask sourcegit
The cask zap list includes ~/Library/Application Support/SourceGit and ~/Library/Saved Application State/com.sourcegit.app.savedState. Running brew uninstall --cask --zap sourcegit removes that list unconditionally and does not read Mole's checkboxes. It does not delete repositories. Mole checks the full removal list and skips --zap when it reaches unchecked data, shared files, or a path it cannot verify. Leftovers you selected still use Mole's own removal.
What Mole lists
~/Library/Application Support/SourceGit is listed and not selected while Remove data and settings with apps in General › Cleaning is off. Your repositories and .git directories are completely outside this list.
These defaults assume “Remove data and settings with apps” is off. Opting in also selects eligible reviewed app data; shared stores and protected data retain individual review or stay locked.
What this test covered
On October 9, 2026, SourceGit 2026.21 from the notarized arm64 package distributed with the Homebrew cask was copied into Applications, opened to an empty repository page, and removed. No repository was added. The recorded removal included the app and ~/Library/Application Support/SourceGit after that support row was selected. ~/Library/Saved Application State/com.sourcegit.app.savedState was not present. Status showed one SourceGit row while it was running. No new launch agent was found. Mole's update page was not opened. A brew install receipt was not part of this test.
