Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of SourceTree available.


Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 11/7/2017.

A free visual Git and Hg client for Mac and Windows.

SourceTree simplifies how you interact with your Git and Mercurial repositories so you can focus on coding. Visualize and manage your repositories through SourceTree's simple interface.


  • Commit with Confidence: Visualize your work and push with confidence. Stage and discard changes by the file, hunk or line.
  • Visualize your progress: Detailed branching diagrams make it easy to keep up with your team's progress.
  • Git Large File Support: SourceTree supports Git LFS, allowing teams to track large assets in one single place.
  • Git-flow out of the box: Smart branching with SourceTree and Git-flow, keeping repositories clean and development efficient.
  • Submodules: Submodules make life easier when managing projects, their dependencies, and other project groupings.
  • Local commit search: Search for commits, file changes, and branches right within SourceTree.
  • Interactive rebase: Get clean and clear commits with SourceTree's interactive rebase tool.
  • Remote repository manager: SourceTree allows you to search for and clone remote repositories within its simple user interface.


  • This package installs the current version in General Availability.For details on SourceTrees release process see this blog post.

To install SourceTree, run the following command from the command line or from PowerShell:

C:\> choco install sourcetree --version

To upgrade SourceTree, run the following command from the command line or from PowerShell:

C:\> choco upgrade sourcetree --version


  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageArgs = @{
      packageName = 'SourceTree'
      fileType = 'EXE'
      url = ''
      softwareName = 'SourceTree'
      checksum = '0e02ea2ab6dc4a4e5d4b12be50705bb840f01d978a46757b24ca5a818bb75bd8'
      checksumType = 'sha256'
      silentArgs = "/passive"
      validExitCodes = @(0, 3010, 1641)
    Install-ChocolateyPackage @packageArgs
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageName         = 'sourcetree'
    $softwareNamePattern = 'SourceTree'
    [array] $key = Get-UninstallRegistryKey $softwareNamePattern
    if ($key.Count -eq 1) {
        $key | % {
            $packageArgs = @{
                packageName            = $packageName
                silentArgs             = "--uninstall"
                fileType               = 'EXE'
                validExitCodes         = @(0)
                file                   = $_.UninstallString.Replace('--uninstall', '')
            Uninstall-ChocolateyPackage @packageArgs
    elseif ($key.Count -eq 0) {
        Write-Warning "$packageName has already been uninstalled by other means."
    elseif ($key.Count -gt 1) {
        Write-Warning "$($key.Count) matches found!"
        Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
        Write-Warning "Please alert package maintainer the following keys were matched:"
        $key | % {Write-Warning "- $($_.DisplayName)"}

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Atlassian


Release Notes

Version History

Version Downloads Last updated Status
Sourcetree for Windows Enterprise 2.6.10 38552 Thursday, July 19, 2018 approved
Sourcetree for Windows Enterprise 2.6.9 13011 Wednesday, June 20, 2018 approved
SourceTree 2.5.5 7464 Tuesday, April 24, 2018 approved
SourceTree 2.5.4 1814 Thursday, April 19, 2018 approved
SourceTree 7348 Saturday, February 17, 2018 approved
SourceTree 5192 Wednesday, January 10, 2018 approved
SourceTree 6886 Tuesday, November 7, 2017 approved
SourceTree 6392 Tuesday, September 19, 2017 approved
SourceTree 3969 Friday, August 25, 2017 approved
Show More

Discussion for the SourceTree Package

Ground rules:

  • This discussion is only about SourceTree and the SourceTree package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or SourceTree, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.