Just do this:
git checkout master
If that hasn't fixed it, this will:
git checkout -b temp
git branch -f master temp
git checkout master
Just do this:
git checkout master
If that hasn't fixed it, this will:
git checkout -b temp
git branch -f master temp
git checkout master