I\'m trying to set up Git on a fresh machine, and I\'m having trouble authenticating with my remote repository.
I have limited experience with Git, but I have succes
I was struggling with this issue myself using Windows 2008 (32bit), Git, GitExtensions.
When prompted with the username/password box when attempting to push, I was getting the same message even though I was certain that I was using the correct username/password.
Adding the user/password when configuring the origin fixed this for me:
git config remote.origin.url https://user:password@bitbucket.org/username
In our case, it was a problem with the server. Our IT guy said that the git server was unable to reach the authentication server.
I'm not sure what that means, but everything was promptly fixed after a quick server bounce and some other IT wizardry.