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

Sourcetree keeps connecting to a git repository that is no longer used

In the past I switched my repository, had two for a while, then removed all traces of the old/unused one.

I've scanned just about every file (Sourcetree settings/app data/.git folder/git settings, windows credential manager etc) and cannot find any trace of the old repository, however sourcetree keeps asking for the password for it (via Windows credential manager, and then when I cancel by a sourcetree pop-up). It is rather annoying as these pop-ups just keep on coming.

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Oct 22, 2018


I suspect the credential prompts are coming from the Git Credential Manager, being called by Git which is being called by Sourcetree.

Sourcetree will make calls, via Git, to the remote hosts of bookmarked repositories periodically.

Check the contents of the bookmarks.xml and opentabs.xml files in %localappdata%/Atlassian/Sourcetree, they contain the only repositories Sourcetree is aware off.

Many thanks!

I did notice that a few unused repositories were still listed in bookmarks.xml. Even though those repositories did not have a link to the old git repo, removing them from bookmarks.xml seems to have solved the problem. Still it doesn't make much sense, but at least the problem has gone away.

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