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

Can't login anymore


Not sure what changed because I didn't change anything but suddenly Sourcetree doesn't let me login anymore to pull/fetch from my repo.


I updated Sourcetree just now to the latest version.

I'm on Windows.

My settings on Sourcetree are these:

Sourcetree -> repository settings

I have my repository path with

it's configured with Optional extended integration where I see my Remote account correct.


Sourcetree -> Tools -> Options -> Authentication

under Accounts I have my account with correct info

Protocol: HTTPS

Authentication: Basic

this account is set as default

if I edit anything here it asks me to login and that works. I did refresh password already and it says "Authentication OK". 

I did setup a Bitbucket App Password.


if I fetch or do anything else the authentication prompt will fail all the times, login fails.


What am I missing?


1 answer

1 accepted

0 votes
Answer accepted

Hi @adark I had a similar problem recently, I was getting a "Too many invalid password attempts. Log in at to restore access." error.

My solution was to go to the main menu, Tools > Options > Git tab then update my Git version using the "Update Embedded" button.

I don't know if this will fix your issue since you haven't mentioned any specific error messages, but it's worth a try.

Thank you, it was actually that simple.

Like Kunal Prakash likes this

Is useful in getting into

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,641 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