I\'m experiencing the following error while trying to git fetch a remote branch:
error: Ref refs/origin/remotes/my-branch is at s
For other googlers who get here: this is also another less drastic approach:
Navigate to .git\refs\remotes\origin
directory - delete the master file,
Then do another git pull
and it synchronizes successfully.
Someone has created another branch with the same name, but different case.
Git for windows isn't case sensitive. So, things just got crazy! Git couldn't distinguish one from another, mistaking the hash of each's head.
Just cut the evil by its root. Wrong remote branch was deleted and evererything is nice as ever.