Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,512 views 128 27
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