If you are experiencing that the sourcetree is keeps asking for username and/or password when fetching, pushing, pulling, commiting to a repository, open up a terminal and execute the following command
git config --global credential.helper osxkeychain
This happened for me after installing a third party password manager, called LastPass.
3 thoughts on “SourceTree keeps asking for password on macOS”
this is fucking awesome ?
It works! Thank so much.