I have connected Sourcetree (Windows version 3.1.2) to my companies bitbucket server and can fetch and pull from remote repos but when I push commits I get an authentication error.
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
fatal: Authentication failed for 'https://{username}@bitbucket.{company}.com/{repo path}
Pushing to https://{username}@bitbucket.{company}.com/{repo path}
Completed with errors, see above.
When I configure my account I get a "Authentication OK" message after I have typed in my password. It seems like the password is not being stored and the request is being sent with an incorrect password.
I am able to push to the repo using the git on the CLI.