Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Login problems with GitHub and Two-factor authentication


friday we can not sign in to GitHub anymore with SourceTree. Even the attempt with the Personal access tokens does not work. Problem exists only with the two-factor authentication.

Sourcetree Version 2.4.8 Windows 10 64-bit

5 answers

1 accepted

8 votes
Answer accepted
Mike Corsaro Atlassian Team Feb 27, 2018



This issue is caused by Sourcetree's embedded Git client using git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site (and didn't bother to tell anyone). Due to this, only the latest version of Git for Windows will work with Github.


To use the latest version:

  • Download and install Git for Windows
  • Open Sourcetree, the go to Options > Git
  • Click the "Use System Git" button
  • Additionally, check "Enable TLS 1.2" under "Network"

Works! after hours of searching for a solution! Thanks!

Thank you, this also worked for me. One small thing that confused me.
I was not able to select the "Use System Git" button, it appeared to be disabled / greyed out .... but as it turned out it was disabled because it was already selected / default

Phew!  I was also able to solve this on the Mac app by clicking "Use System Git" via Sourcetree Preferences > Git  

Hello ,
thank you very much it worked.

Thank-you.  Worked like a charm.

it's amazing that there was a time 3 git hub login panel pop up at the same time in my pc

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...

5,738 views 4 12
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