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

Can't log in with git and sourcetree

I'm trying to login from sourcetree and command line git, i have the right password and from browser everything works fine.


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
fatal: HttpRequestException encountered.
Si � verificato un errore durante l'invio della richiesta.

remote: Empty password
fatal: Authentication failed for '[ repo...]'

1 answer

0 votes
Ana Retamal Atlassian Team Aug 27, 2018

Hi Vincenzo, welcome to the Community!

Are you still experiencing this issue?

It looks like there is a problem with the Bitbucket authentication, can you try deleting your Bitbucket account in Sourcetree? You can, do this by navigating to C:\Users\PedroMota\AppData\Local\Atlassian\SourceTree and deleting the passwd file.

If this doesn't fix your issue, please try logging into your Bitbucket account directly via your browser and let us know how it goes. 

Best regards,


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...

52,113 views 125 26
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