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

Setup Github with Personal Access Token

Good day,

I have worked through numerous articles and can not get my Github account set up with a PAT in SourceTree.

I am running Windows 10 and SourceTree V3.4.8

Amongst others I have tried the following:

Deleted all cached logins in Windows Credential Manager.
In SourceTree deleted and re-created my Github account.
Set auth type to Basic.


But still when doing a Push in SourceTree I am getting the following.


remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see for more information.
fatal: Authentication failed for ''


Where in SourceTree should I save my Personal Access Token? In the password field?
What kind of authentication should be selected? Basic? I assume.

I do not get the prompt for user & password when doing the Push.

Why is this so damn hard to setup in SourceTree? :)



Thank you all in advance :)

0 answers

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

61,097 views 127 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