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 had the same error in windows. It happened after i changed the credentials in the Control panel -> Users -> Manage credentials.
I fixed it by adding a new credential:
git:https://github.com (web credentials) and username and password.