I finally made it work. I will try to summarize as best I can for others needing SourceTree to connect to GIT using 2-factor authentication (2FA):
I'm glad you sorted it out and thanks for documenting the steps for other community members!
You can mark your own answser as accepted if you want to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again,
I read your post while answering your other one.
I haven't used SourceTree myself since a while. But I found this article in the documentation: Two-Factor Authentication (2FA) with GitHub in SourceTree
The article says: "For versions earlier than SourceTree 2.4 for Mac and SourceTree 1.10 for Windows." SO I'm not sure if it will be of any help.
But I hope it points you in the right direction.
UPDATE:
I found the information for recent versions.
Apparenltly newer versions support the Windows Credential Manager which supports 2FA.
So you'll need to use that tool.
See more on SourceTree for Windows 1.10.0-* authentication and accounts updates
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for answering. Before installing a new password manager, i tried https://confluence.atlassian.com/sourcetreekb/two-factor-authentication-2fa-with-github-in-sourcetree-402033499.html
But, unfortunatively, SourceTree seems to be extremely buggy in its Tools > Options > Authentication window:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ALSO NOT WORKING:
As far as I can see, this effectively means that it is impossible to edit a default password account(!)
I am using latest SourceTree version 3.4.5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.