My desktop was previously used by the previous employee at my office. In source tree
I have my account logged in but my at random times the previous users login screen pops up with username field disabled
and it comes two times,when I click cancel the second screen pops up. I am fed up with this problem. I have done with everything to try and solve this problem but it will just not go.
Quite often this occurs because either a repo has multiple remotes, or a repo has a remote that you've not got permissions to anymore is still bookmarked (even if the tab isn't open in SourceTree).
For example I had 3 repos from a previous contract that I no longer had access too, whilst I didn't have the repos open in tabs within SourceTree, the repo was bookmarked so SourceTree kept trying to authenticate it; removing the bookmarks and then restarting SourceTree fixed the problem.
Removing old/non accessible repositories
In the latest version of Source Tree (2.1.2.5 at the time of writing), Select the New Tab + button, under Local repositories -> All Repos ensure that all the Repos are ones you have access to (might have to check each one can do a fetch)
Delete any bookmarks you do not need/have access to
Restart Source Tree
Removing old/duplicate/excessive remotes
Select your repository tab
Go to the Repository menu and select Repository settings (Ctrl+Shift+,)
Under the "Remotes" table, ensure the remotes are correct (most likely just origin pointing to bitbucket)
Good luck.