SourceTree Git Error: remote: HTTP Basic: Access denied fatal: Authentication failed

Enter the project root directory and open the command line for execution

git config --unset credential.helper
git config credential.helper store

Then pull the code in the command line mode and re-enter the account and password

Read More: