Recreate Git Ref after Fatal Error
I recently had to perform a hard reboot and I am now receiving an error in git when I try to access a specific branch (this does not happen when accessing other branches): $git checkout branchName fatal: failed to read object ebca165c3ec7ecd7124f41983dd264e4e1dc0125: Invalid argument The problem is similar to the one described here: How to restore a corrupted git repository? , but differs in the fact that I am not currently on that branch to perform git status . Also, if I call git reflog I receive the same error message. I tried to delete the branch in question using git branch -d branchName