Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand



Downloads of v 3.4.9:


Last Update:

02 Jun 2022

Package Maintainer(s):

Software Author(s):

  • Atlassian


git mercurial client admin freeware cross-platform

Sourcetree for Windows Enterprise

  • 1
  • 2
  • 3

3.4.9 | Updated: 02 Jun 2022



Downloads of v 3.4.9:



Software Author(s):

  • Atlassian

Sourcetree for Windows Enterprise 3.4.9

  • 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

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 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.9'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

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 02 Jun 2022.


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           = ''
  checksum      = 'cb6e9bc289b2ffb5d0132e72743d39252d8d92708ec139abd2e9254940e3ff37'
  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.1 37790 Wednesday, January 13, 2021 Approved
Sourcetree for Windows Enterprise 3.3.9 18892 Tuesday, June 16, 2020 Approved
Sourcetree for Windows Enterprise 3.3.8 18124 Saturday, February 8, 2020 Approved
Sourcetree for Windows Enterprise 3.3.6 8622 Tuesday, December 17, 2019 Approved
Sourcetree for Windows Enterprise 3.2.6 21457 Friday, September 20, 2019 Approved
Sourcetree for Windows Enterprise 3.1.3 38513 Wednesday, May 22, 2019 Approved
Sourcetree for Windows Enterprise 3.1.2 4761 Tuesday, May 14, 2019 Approved
Sourcetree for Windows Enterprise 3.0.17 33851 Wednesday, February 13, 2019 Approved
Sourcetree for Windows Enterprise 3.0.15 13393 Thursday, January 10, 2019 Approved
Sourcetree for Windows Enterprise 3.0.8 27106 Wednesday, October 24, 2018 Approved
Sourcetree for Windows Enterprise 2.6.10 39457 Thursday, July 19, 2018 Approved
Sourcetree for Windows Enterprise 2.6.9 13276 Wednesday, June 20, 2018 Approved
SourceTree 2.5.5 7880 Tuesday, April 24, 2018 Approved
SourceTree 2.5.4 2038 Thursday, April 19, 2018 Approved
SourceTree 7662 Saturday, February 17, 2018 Approved
SourceTree 5671 Wednesday, January 10, 2018 Approved
SourceTree 7421 Tuesday, November 7, 2017 Approved
SourceTree 6692 Tuesday, September 19, 2017 Approved
SourceTree 4217 Friday, August 25, 2017 Approved
SourceTree 4642 Friday, August 11, 2017 Approved
SourceTree 20423 Thursday, June 15, 2017 Approved
SourceTree 13591 Tuesday, May 9, 2017 Approved
SourceTree 2447 Thursday, April 27, 2017 Approved
SourceTree 2090 Wednesday, April 19, 2017 Approved
SourceTree 15682 Thursday, December 15, 2016 Approved
SourceTree 611 Thursday, December 15, 2016 Approved
SourceTree 3605 Saturday, November 19, 2016 Approved
SourceTree 8916 Tuesday, August 9, 2016 Approved
SourceTree 2682 Monday, August 8, 2016 Approved
SourceTree 17069 Tuesday, July 19, 2016 Approved
SourceTree 529 Wednesday, July 13, 2016 Exempted
SourceTree 525 Tuesday, May 10, 2016 Approved
SourceTree 1.8.3 3929 Sunday, March 27, 2016 Approved
SourceTree 2470 Friday, March 4, 2016 Approved
SourceTree 1305 Monday, February 29, 2016 Approved
SourceTree 1066 Thursday, February 25, 2016 Approved
SourceTree 1.8.2 684 Wednesday, February 24, 2016 Approved
SourceTree 4846 Tuesday, December 15, 2015 Approved
SourceTree 1.6.25 2031 Sunday, December 6, 2015 Approved
SourceTree 1.6.22 560 Saturday, October 24, 2015 Approved
SourceTree 1.6.21 583 Saturday, September 26, 2015 Approved
SourceTree 1.6.20 585 Friday, August 14, 2015 Approved
SourceTree 1.6.18 503 Friday, July 31, 2015 Approved
SourceTree 1.6.14 11622 Saturday, March 21, 2015 Approved
SourceTree 1.6.11 5756 Friday, November 21, 2014 Approved
SourceTree 1.6.10 1105 Thursday, November 13, 2014 Approved
SourceTree 1.6.8 1621 Saturday, October 25, 2014 Approved
SourceTree 1.6.5 1525 Friday, October 3, 2014 Approved
SourceTree 1.6.4 2452 Sunday, September 7, 2014 Approved
SourceTree 1.6.3 1080 Sunday, August 24, 2014 Approved
SourceTree 1.5.2 3675 Thursday, April 17, 2014 Approved
SourceTree 1.5.1 727 Wednesday, April 9, 2014 Approved
SourceTree 1.4.1 1470 Sunday, February 16, 2014 Approved
SourceTree 1.3.3 1289 Saturday, December 14, 2013 Approved
SourceTree 1.3.2 726 Monday, November 18, 2013 Approved
SourceTree 1.1.1 944 Wednesday, September 11, 2013 Approved
SourceTree 620 Friday, August 9, 2013 Approved
SourceTree 560 Thursday, July 18, 2013 Approved
SourceTree 533 Wednesday, July 10, 2013 Approved
SourceTree 714 Sunday, May 26, 2013 Approved
SourceTree 524 Sunday, May 19, 2013 Approved
SourceTree 520 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