OptiClear

Developer Tools

How to Completely Uninstall Sourcetree on Mac

To uninstall Sourcetree, quit the app and drag it to the Trash. This process removes the application but leaves behind associated settings, account data, and caches.

Last updated: 3 min read

Remove Sourcetree and everything it leaves behind

Sourcetree data usually takes 200 MB – 2 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.

Scan your Mac free

Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+

Application
Sourcetree
Typical data size
200 MB – 2 GB
Category
Developer Tools
File Location
~/Library/Application Support/SourceTree

Manual cleanup steps

  1. Quit the app completely (⌘+Q in the menu bar).
  2. Move Sourcetree from the Applications folder to the Trash.
  3. Remove the folders Sourcetree left behind, listed in the table below.
  4. Empty the Trash to free up the space.

Everything Sourcetree keeps on your Mac

4 locations. Tick each one as you remove it; back up anything marked as your data first.

Locations are the standard macOS folders Sourcetree uses; some appear only after you use the matching feature.

What Sourcetree leaves behind

Specific to Sourcetree

Dragging the app to the Trash does not remove its support folders, preferences, or cached states. These remaining items occupy between 200 MB – 2 GB of space. Because the app only bookmarks repositories, your actual code remains untouched in its original folders. You must manually navigate to the hidden ~/Library folder via Finder > Go > Go to Folder to delete these residual files.

License
Sourcetree is free.
Account and sync
Sourcetree uses an Atlassian account at setup and stores Git hosting accounts such as Bitbucket or GitHub.

Preparing to remove Sourcetree

Before deletion, ensure all necessary work is synchronized with your Git hosting accounts like Bitbucket or GitHub. Since the app stores repository bookmarks and account settings locally, you should identify which projects were tracked. Removing the binary alone will not clear your saved Git credentials from the system Keychain.

0 of 4 done

By hand or with OptiClear

By handWith OptiClear
Places to check4 folders, one by oneOne scan
File sizesYou look them up yourselfShown for every item
Removing the wrong thingEasy to delete the wrong folderGoes to the Trash first, so it can be restored
CostFreeScan is free; cleaning needs Pro (yearly plan has a 7-day free trial)

See it working

OptiClear — Scan overview — every category on one screen
Scan overview — every category on one screen
OptiClear — Privacy audit: what each app has been allowed to reach
Privacy audit: what each app has been allowed to reach
OptiClear — Large and aging files, ranked by what they cost you
Large and aging files, ranked by what they cost you

Try it without risk

  1. Download and scan for freeSee every Sourcetree file and its size. No account needed.
  2. Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
  3. Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
Download free and scan

After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.

Frequently asked questions

Yes. Folders marked “Yes, rebuilt automatically” are rebuilt automatically; removing them only makes the next start slower. Folders marked “Yes, settings reset” hold settings, which return to their defaults. Items marked “Yes, once the app is gone” only matter while Sourcetree is installed, so remove them after the app.
Will removing the app delete my git repositories?
No, because it only keeps bookmarks to your repositories; your code stays in its own folders.
Where are my account settings stored?
They are kept in ~/Library/Application Support/SourceTree along with your repository bookmarks.

Related cleanup guides