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,
.git\refs\remotes\origin
Then do another git pull and it synchronizes successfully.
git pull