# Sourcetree

A free graphical Git and Mercurial client for reviewing changes, managing branches and working with remote repositories.

> This is the Markdown version of the Sourcetree page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/sourcetree>

- **Latest version**: `4.2.21,326`
- **Developer**: Atlassian
- **Homepage**: <https://www.sourcetreeapp.com/>
- **Categories**: [Developer Tools](https://opennavo.com/categories/developer-tools)
- **Install**: `brew install --cask sourcetree`
- **30-day installs**: 2,138
- **Homebrew**: Available; the app updates itself
- **Download URL**: <https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.21_326.zip>
- **SHA-256**: `2d369e0266cae6ddc436e6af07d6bc56cbbadbe05153e2529a2046d29d0ba2f4`
- **Commands**: stree

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "launchctl": "com.atlassian.SourceTreePrivilegedHelper2",
          "quit": "com.torusknot.SourceTreeNotMAS"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "Sourcetree.app"
      ],
      "target": "/Applications/Sourcetree.app"
    },
    "phase": "install",
    "sources": [
      "Sourcetree.app"
    ],
    "target": "/Applications/Sourcetree.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/Sourcetree.app/Contents/Resources/stree"
      ],
      "target": "$HOMEBREW_PREFIX/bin/stree"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/Sourcetree.app/Contents/Resources/stree"
    ],
    "target": "$HOMEBREW_PREFIX/bin/stree",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.torusknot.sourcetreenotmas.sfl*",
            "~/Library/Application Support/SourceTree",
            "~/Library/Caches/com.torusknot.SourceTreeNotMAS",
            "~/Library/Logs/Sourcetree",
            "~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist",
            "~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist",
            "~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Sourcetree is Atlassian's graphical client for Git and Mercurial repositories. It provides a visual history and branching interface, file and line-level change review, staging, commits, stashes and other repository operations. It suits developers who want a GUI alongside their command-line workflow.

### Repository workflows
Open or clone a repository, inspect changed files and stage the changes intended for a commit. Use history and branch diagrams to understand commits, merge or cherry-pick work, and keep repositories in sync with configured remotes. The product documents Git LFS, Git-flow and submodule support. Remote hosting credentials and repository permissions are separate from the desktop application.

### Install and requirements
Download the Mac archive from Atlassian, install the application and follow its setup and repository connection steps. The official 4.2.19 release notes require macOS 10.15 or later; the catalog declares no stricter minimum. Mac and Windows builds are separate downloads. Confirm processor and operating-system compatibility for the exact download before deploying across machines. Network access is needed for remote clone, fetch and push operations, while already available local repositories can be inspected locally.

### Accounts, price and data
Sourcetree is free to download under Atlassian's proprietary software license; it is not an open-source Git implementation. Atlassian onboarding and your chosen repository host may require accounts, and private repository or hosting subscriptions have their own charges. Credentials should be managed through supported authentication methods. Source code and commit data go to remotes when you push; do not add credentials or confidential files to a commit accidentally.

Review staged changes before committing and confirm the destination before pushing. Discarding work, rewriting history or removing branches can lose changes or affect collaborators. Preserve independent backups and follow your team's branch practices. The GUI helps inspect version-control state but does not resolve conflicting changes automatically or guarantee that a pushed revision is suitable for release.

[Official product](https://www.sourcetreeapp.com/) · [Mac release notes](https://product-downloads.atlassian.com/software/sourcetree/ReleaseNotes/Sourcetree_4.2.19.html)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 4.2.21,326 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · Checked 2026-11-23
  - <https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.21_326.zip>
  - SHA-256: `2d369e0266cae6ddc436e6af07d6bc56cbbadbe05153e2529a2046d29d0ba2f4`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 4.2.21,326 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · Checked 2026-11-23
  - <https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.21_326.zip>
  - SHA-256: `2d369e0266cae6ddc436e6af07d6bc56cbbadbe05153e2529a2046d29d0ba2f4`

## Uninstall

- `brew uninstall --cask sourcetree`

A regular uninstall removes the app and keeps its settings and caches.

### Uninstalling also removes

- Background services (launchctl): `com.atlassian.SourceTreePrivilegedHelper2` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `brew uninstall --zap --cask sourcetree`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.torusknot.sourcetreenotmas.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Application Support/SourceTree` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Caches/com.torusknot.SourceTreeNotMAS` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Logs/Sourcetree` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/sourcetree>
- <https://opennavo.com/apps/sourcetree/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcetree.rb> · Checked 2026-11-23
- <https://formulae.brew.sh/cask/sourcetree>
