The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing GIT with 2FA

Alexander Kalashnikov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2025

I must admit I am new to 2FA on GIT with SourceTree;

tried to push updates to a repository using the GIT password;

got prompts for some credential manager but declined these and cannot get these back;

now all the push attempt failed with the message

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --set-upstream origin master:master remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for 'https://github.com/<repository>'

As it was initial commit I logged into GIT with passkey and uploaded the folder manually

Really want to keep using SourceTree with all the tracking and button automation but could not find any way around

Any help is greatly appreciated

Thank you for reading this inquiry

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
September 18, 2025

@Alexander Kalashnikov welcome to the Atlassian community

This should help you get everything connected again https://support.atlassian.com/sourcetree/kb/two-factor-authentication-2fa-with-github-in-sourcetree/ 

TAGS
AUG Leaders

Atlassian Community Events