I am getting this error in my git repository:
22:09:15 $ git status # On branch master error: Could not read 8124cc15c63be92d534e4cdfa33c38d54deee122 error:
If you don't have uncommited changes the easiest solution is to delete the local branch: git branch -D [branch name]
and then checkout again the remote branch: git checkout -b [branch name] origin/[branch name]