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

Login problems with GitHub and Two-factor authentication

Marc Küllmer February 27, 2018

Hi,

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Hello!

 

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"
b b September 1, 2018

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

Ross Tesoriero December 16, 2018

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

1 vote
Abby Johnson May 1, 2018

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

1 vote
Marc Küllmer March 2, 2018

Hello ,
thank you very much it worked.

0 votes
Christy Plommer July 2, 2018

Thank-you.  Worked like a charm.

0 votes
SunnyChow March 13, 2018

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
TAGS
AUG Leaders

Atlassian Community Events