Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Have been connecting to GitHub using SourceTree for over 1 year but now cannot get access

Have just upgraded to SourceTree 2.4.8 because GitHub support suggested this but still unable to connect to my repository to do a Push.

GitHub login comes up but whatever I try in terms of configuring SourceTree to use the access token I've generated for GitHub I get auth failure, and even though the Refresh Auth Token from SorceTree shows as success?

2 answers

0 votes
Mike Corsaro Atlassian Team Feb 23, 2018

Hello! Could you provide more details about where the error appears? If you're using an access token from GitHub, then you should be using that as a replacement for your password and won't need to add the remote account.

Mike Corsaro Atlassian Team Feb 23, 2018

If that doesn't work, try adding the GitHub account with OAuth:

  • Options > Accounts
  • Add a new account, but set "Authentication" to "OAuth"
  • Login, switch back to Sourcetree
  • Try pulling again

Thanks for your prompt answer Mike. I've been getting feedback from GitHub support on this. The frustrating thing is that I can do a push fine from command line using my GitHub credentials but cannot using latest version of SourceTree!

GitHub support tell me that they have done some work on TSL and SSH recently and they comment:

>>The HTTPS request error you're seeing there is related to our recent TLS deprecation. Could you try connecting via SSH in SourceTree? If that doesn't help, I recommend you reach out to SourceTree's support team about how to use their tool with TLSv1.2.


SourceTree comes with an older version of the Git Credential Manager for Windows built in. This is one of the known incompatibilities:

It's not possible to directly upgrade the version that SourceTree uses, though you may be able to find a workaround in their forums.

Mike Corsaro Atlassian Team Feb 23, 2018

Okay, got it. To help fix this:

  • Download Git for Windows from the git-scm website
  • Install
  • Open Sourcetree, Tools > Options > Git, and click "use system git"
  • This will tell Sourcetree to use the version of git you just installed, and a newer GCM
  • Additionally, in Tools > Options > Network
    • Check the "Enable TLS 1.2" checkbox

OK thanks again for your help Mike.

I tried this but still not able to push through SourceTree - a GitHub Login modal appears when I try to Push and when I enter credentials I get the same error as before - see attached screen shot.

I can still do the push OK from cmd line after doing the commit in SourceTree. Again the GitHub modal opens and I enter the same creds - username and latest and latest generated auth token - and it works fine. SourceTree then take a while to catch up and realize that the push has gone through.SourceTreeShenanigans.png

Mike Corsaro Atlassian Team Feb 26, 2018

Hello! Sorry for the misleading answers -- it turns out this is caused by a TLS change on Github's side so the Git Credential Manager no longer works with Github unless you're using the version released last month.


To fix this:

  • Download the latest git for windows
  • Open Sourcetree > Options > Git > Use System Git

OK Mike:

YES I've already done these two things. Should I uncheck for:

Additionally, in Tools > Options > Network

  • Check the "Enable TLS 1.2" checkbox?SourceTreeShenanigans2.png
Mike Corsaro Atlassian Team Feb 26, 2018

Okay, so now you'll want to make use you hit the "Use System Git" button, and then under "Network" enable TLS 1.1 and 1.2

OK did this but still no able to push?

same here on my mac...

I updated sourcetree yesterday and i can not push to github anymore. the dialog is comming up with his command to push but nothing happens (it hangs and has no further output). i can push from command line. I try to follow all advices here but nothing works... but sourcetree refreshes after i have pushed on cmd line...

any further hints?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

3,290 views 4 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you