Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand



Downloads of v 3.4.17:


Last Update:

24 Feb 2024

Package Maintainer(s):

Software Author(s):

  • Atlassian


git mercurial client admin freeware cross-platform

Sourcetree for Windows Enterprise

  • 1
  • 2
  • 3

3.4.17 | Updated: 24 Feb 2024



Downloads of v 3.4.17:



Software Author(s):

  • Atlassian

Sourcetree for Windows Enterprise 3.4.17

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Exemption:

Please exempt from testing as dotnet4.7.1 which it depends on is also exempted.


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Sourcetree for Windows Enterprise, run the following command from the command line or from PowerShell:


To upgrade Sourcetree for Windows Enterprise, run the following command from the command line or from PowerShell:


To uninstall Sourcetree for Windows Enterprise, run the following command from the command line or from PowerShell:


Deployment Method:


This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade sourcetree -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade sourcetree -y --source="'INTERNAL REPO URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install sourcetree
    name: sourcetree
    version: '3.4.17'
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

chocolatey_package 'sourcetree' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.4.17'

See docs at https://docs.chef.io/resource_chocolatey_package.html.

cChocoPackageInstaller sourcetree
    Name     = "sourcetree"
    Version  = "3.4.17"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.

package { 'sourcetree':
  ensure   => '3.4.17',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.


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

Package Approved

This package was approved as a trusted package on 24 Feb 2024.


A free Git client for Windows.

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


  • Simple for beginners: Say goodbye to the command line - simplify distributed version control with a Git client and quickly bring everyone up to speed.
  • Powerful for experts: Perfect for making advanced users even more productive. Review changesets, stash, cherry-pick between branches and more.
  • Visualize your code: Seeing really is believing. Get information on any branch or commit with a single click.
  • Git and Hg on your desktop: A fully-featured GUI that offers an efficient, consistent development process right out of the box. Works with Git and Mercurial.
  • Commit with Confidence: Visualize your work and push with confidence. Stage and discard changes by the file, hunk or line.
  • The new Git status: Never miss a thing. Stay on top of your work and up to date with your code at a glance.
  • 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.
  • Bitbucket sign-in: No additional account signup required to use Sourcetree. Use your existing Bitbucket Server or Data Center credentials to confirm your identity when using the product.


  • This package installs the current version in General Availability. For details on SourceTrees release process see this blog post.
  • This package installs the Enterprise Edition. The Enterprise Edition comes with the following differences compared to the standard installer:
    • Application is installed in default program folder.
    • Application is not automatically launched after installation.
    • Embedded Git and Mercurial are not supported.
    • Does not prompt to install global ignore files.
    • Update notifications are disabled.
  • If the package is out of date please check Version History for the latest submitted version. If you have a question, please ask it in Chocolatey Community Package Discussions or raise an issue on the Chocolatey Community Packages Repository if you have problems with the package. Disqus comments will generally not be responded to.

$ErrorActionPreference = 'Stop'

# Check if Sourcetree standard (with Squirrel installer) is installed 
[array] $key = Get-UninstallRegistryKey "sourcetree" | Where-Object { -Not ($_.WindowsInstaller) }
if ($key.Count -gt 0) {
  Write-Warning "Found installation of standard version of Sourcetree."
  Write-Warning "This package will install the enterprise version of Sourcetree."
  Write-Warning "Both applications can be installed side-by-side. Settings won't be migrated from the existing installation. If you no longer want the standard version installed you can uninstall it from Windows control panel."

# Install Sourcetree Enterprise
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Sourcetree*'
  fileType      = 'msi'
  silentArgs    = "/qn /norestart ACCEPTEULA=1 /l*v `"$env:TEMP\$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.log`""
  validExitCodes= @(0,1641,3010)
  url           = 'https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourcetreeEnterpriseSetup_3.4.17.msi'
  checksum      = 'd927b4e425c6b7abc1a2b685d5dd3a110613f727038cbf172c7a6d183b4c290d'
  checksumType  = 'sha256'
  url64bit      = ''
  checksum64    = ''
  checksumType64= 'sha256'

Install-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Sourcetree for Windows Enterprise 3.4.16 7819 Thursday, December 21, 2023 Approved
Sourcetree for Windows Enterprise 3.4.15 7853 Tuesday, October 3, 2023 Approved
Sourcetree for Windows Enterprise 3.4.14 10849 Thursday, July 13, 2023 Approved
Sourcetree for Windows Enterprise 3.4.9 29763 Thursday, June 2, 2022 Approved
Sourcetree for Windows Enterprise 3.4.1 38155 Wednesday, January 13, 2021 Approved
Sourcetree for Windows Enterprise 3.3.9 19057 Tuesday, June 16, 2020 Approved
Sourcetree for Windows Enterprise 3.3.8 18161 Saturday, February 8, 2020 Approved
Sourcetree for Windows Enterprise 3.3.6 8642 Tuesday, December 17, 2019 Approved
Sourcetree for Windows Enterprise 3.2.6 21499 Friday, September 20, 2019 Approved
Sourcetree for Windows Enterprise 3.1.3 38556 Wednesday, May 22, 2019 Approved
Sourcetree for Windows Enterprise 3.1.2 4787 Tuesday, May 14, 2019 Approved
Sourcetree for Windows Enterprise 3.0.17 33886 Wednesday, February 13, 2019 Approved
Sourcetree for Windows Enterprise 3.0.15 13423 Thursday, January 10, 2019 Approved
Sourcetree for Windows Enterprise 3.0.8 27140 Wednesday, October 24, 2018 Approved
Sourcetree for Windows Enterprise 2.6.10 39516 Thursday, July 19, 2018 Approved
Sourcetree for Windows Enterprise 2.6.9 13298 Wednesday, June 20, 2018 Approved
SourceTree 2.5.5 7912 Tuesday, April 24, 2018 Approved
SourceTree 2.5.4 2066 Thursday, April 19, 2018 Approved
SourceTree 7695 Saturday, February 17, 2018 Approved
SourceTree 5753 Wednesday, January 10, 2018 Approved
SourceTree 7504 Tuesday, November 7, 2017 Approved
SourceTree 6722 Tuesday, September 19, 2017 Approved
SourceTree 4256 Friday, August 25, 2017 Approved
SourceTree 4670 Friday, August 11, 2017 Approved
SourceTree 20460 Thursday, June 15, 2017 Approved
SourceTree 13622 Tuesday, May 9, 2017 Approved
SourceTree 2475 Thursday, April 27, 2017 Approved
SourceTree 2115 Wednesday, April 19, 2017 Approved
SourceTree 15769 Thursday, December 15, 2016 Approved
SourceTree 635 Thursday, December 15, 2016 Approved
SourceTree 3638 Saturday, November 19, 2016 Approved
SourceTree 8948 Tuesday, August 9, 2016 Approved
SourceTree 2713 Monday, August 8, 2016 Approved
SourceTree 17100 Tuesday, July 19, 2016 Approved
SourceTree 558 Wednesday, July 13, 2016 Exempted
SourceTree 555 Tuesday, May 10, 2016 Approved
SourceTree 1.8.3 3957 Sunday, March 27, 2016 Approved
SourceTree 2500 Friday, March 4, 2016 Approved
SourceTree 1343 Monday, February 29, 2016 Approved
SourceTree 1095 Thursday, February 25, 2016 Approved
SourceTree 1.8.2 718 Wednesday, February 24, 2016 Approved
SourceTree 4874 Tuesday, December 15, 2015 Approved
SourceTree 1.6.25 2082 Sunday, December 6, 2015 Approved
SourceTree 1.6.22 586 Saturday, October 24, 2015 Approved
SourceTree 1.6.21 613 Saturday, September 26, 2015 Approved
SourceTree 1.6.20 623 Friday, August 14, 2015 Approved
SourceTree 1.6.18 535 Friday, July 31, 2015 Approved
SourceTree 1.6.14 11651 Saturday, March 21, 2015 Approved
SourceTree 1.6.11 5784 Friday, November 21, 2014 Approved
SourceTree 1.6.10 1132 Thursday, November 13, 2014 Approved
SourceTree 1.6.8 1650 Saturday, October 25, 2014 Approved
SourceTree 1.6.5 1550 Friday, October 3, 2014 Approved
SourceTree 1.6.4 2516 Sunday, September 7, 2014 Approved
SourceTree 1.6.3 1106 Sunday, August 24, 2014 Approved
SourceTree 1.5.2 3702 Thursday, April 17, 2014 Approved
SourceTree 1.5.1 753 Wednesday, April 9, 2014 Approved
SourceTree 1.4.1 1499 Sunday, February 16, 2014 Approved
SourceTree 1.3.3 1321 Saturday, December 14, 2013 Approved
SourceTree 1.3.2 754 Monday, November 18, 2013 Approved
SourceTree 1.1.1 970 Wednesday, September 11, 2013 Approved
SourceTree 645 Friday, August 9, 2013 Approved
SourceTree 590 Thursday, July 18, 2013 Approved
SourceTree 565 Wednesday, July 10, 2013 Approved
SourceTree 740 Sunday, May 26, 2013 Approved
SourceTree 548 Sunday, May 19, 2013 Approved
SourceTree 550 Monday, April 15, 2013 Approved

Discussion for the Sourcetree for Windows Enterprise Package

Ground Rules:

  • This discussion is only about Sourcetree for Windows Enterprise and the Sourcetree for Windows Enterprise 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 for Windows Enterprise, 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