Installing SourceTree 1.10 in an offline environment

We have been using SourceTree for a number of years now - and keep it up-to-date.  I have just downlowded version and tried to install in in our corporate network (behind quite a restrictive firewall).  I quickly pops open a window saying "Downloading file: Downloading from" and this just hangs.  I presume that our firewall is not allowing it to connect.

Is there any way around this?

I have manually downloaded this file, but what do I do from there?

13 answers

The problem was with the proxy settings. I did a work around and it worked for me. 

Go to the location

C:\Users\youruserid\AppData\Local\Atlassian\SourceTree.exe_*\version folder.

open the user.config file and replace 

<setting name="ProxyServerMode" serializeAs="String">
<value>defaultOperatingSystem(or something like that)</value>


<setting name="ProxyServerMode" serializeAs="String">
<setting name="ProxyServer" serializeAs="String">
<setting name="ProxyPort" serializeAs="String">


I tried that, but now get:

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

Our VMs don't have a lot of the standard Certificates installed.  I am able to download and install myself - but any idea where I can get the certificate fore GcmSt?

I can confirm that this method worked for me!!

Set the proxy in C:\Users\<youruserid>\AppData\Local\Atlassian\SourceTree.exe_Url_*\<version>\user.config as specified in the above post.

I confirm that this WORKED for me aswell !!! 

Even if you get those issues worked out, you're going to run into a problem when SourceTree wants you to register. It's free, of course, but it requires you to log on to

Because of that, you won't find many who have experience getting SourceTree launched in an restricted corporate environment.

I would like to add an upvote for working behind a corporate proxy.  We have used Sourcetree for some time behind a proxy just fine.  Now with version .10.20.1 that is all broken and completely trashes the previous install of sourceTree.

We have the same problem.  We use JIRA, Confluence, and Stash (now BitBucket) and we are unable to install SourceTree anymore.  Unfortunately, I've uninstalled my previous version according to the instructions and I'm now unable to re-install.

I forgot to mention, I tried unzipping this file and running "Install.cmd". It complains

Failed to detect the Microsoft .NET Framework. Make sure it is installed. U_U
Don't know where to get the Microsoft .NET Framework? Try

I downloaded and installed the .NET framework that the link got me to - but that made no difference to install.cmd.

On a different host after installing the .NET framework, running install.cml resulted in
Success! Git Credential Manager for Windows was deployed! ^_^
Press any key to continue...
But then attempting to install SourceTree still results in an attempt to download PortableGcmSt-

I meet the same issue, it's happy to see sourcetree can provide a self-sufficient installation package like it always did.

Do you resolved this issue? I met the same. 1.10.x has smaller file size than old versions, it will downloading something during installing which was block by company firewall policy.

This is also an issue with non-transparent proxies without the ability to specify our corporate proxy settings early in the install phase.


Previously we've been able to install Source Tree v1.7.0 offline + a manual license process for years which has worked fine.

I had the same issue. Wireshark showed me that SourceTree didn't use a proxy when trying to access So I tried Proxifier. With that SourceTree was able to download the needed files - but I had to restart SourceTree several times to complete. After everything was setup SourceTree starts without Proxifier.

System.Net.WebException: Unable to connect to the remote server
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Same problem here, very disappointed to see they've abandoned corporate users sad.

Vote for the defect here: 

Same issue as all of you folks. I installed a fresh Windows 10 Enterprise instance in VirtualBox this morning. I set up the instance to use a corporate proxy. Every app except SourceTree has no issues. I also tried modifying SourceTree.exe.config in the way described above but the proxy settings do not appear to be used.

SourceTree's quality continues to decline; sad.

0 votes

Hi, I'm from the SourceTree team.

I just wanted to come on here and say I'm sorry if you've been affected by this, we are working on this issue and hope to have a fix out next week for those of you trying to install behind corporate firewalls. We will post updates to

For now can I suggest sticking with



Excellent news - Thank you.

Please keep in mind that SourceTree is used on internal networks with no external connectivity.  This is not just a proxy issue. A solution should include an install option that has the complete package without any network reach backs to download code.

Hi Michael,

I notice that there is a new version  Is this meant to resolve these issues?  I have installed successfully on a Windows 7 notebook behind the corporate firewall.  But it continues to fail with the same results on a Windows Server 2012 server (VM) behind the same firewall. Doesn't seem to fix proxy issues, if that was the intent.

Here's a modern image for a corporate proxy:

I was unaware of the issues... and behind a dreaded corporate proxy (DCP) and it fails with a 500 error pop-up, on a clean install, but then pops up the installation UI. Same messaging in the ticket.

Don't know if the internals of the proxy create unique provisioning for http and https...

It would be pretty neat to have a gui that allows you to add Proxy settings during installation, rather having to scramble to the web to find out hours later that I need to hack a config.


We are currently using SourceTree for Windows. The application is re-packaged for Radia Client Automation Application Manager for distribution purposes over our corporate network. I've including a license file and some other configuration files to make sure it's installed and configured properly.

As of SourceTree 2.x (I've tried various versions, the latest being Atlassian seems to have changed the way the software is installed and configured. The application is installed in the %LocalAppData% directory (which seems to me in clear violation with Microsofts standards for Windows applications) and on first run SourceTree requires users to register the application using an Atlassian account.

Both 'enhancements' are absolute show stoppers and render SourceTree completely useless for our organisation.

Atlassian needs to trace back their steps and create a Windows client that installs into %Program Files% or %ProgramFiles(x86%), depending on 32-bit or 64-bit Windows environment and enable the possibility to pre-configure the application so users don't need to register.

Agreed!  These reasons + the proxy have all been big struggles at our corporation.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

969 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you