Here is my case:
But suddenly
You branch name now probably contains some special characters or something like that.
You should go to the root-directory of your check-out (where the .git/
directory is) and
.git/packed-refs
; if you see a line with your branch name then delete it.git/refs/heads for
a file named after your branch; if you
see one, delete it