Cómo resolver la firma mala ... el archivo de índice corrupto

rm -f .git/indexgit resetgit add .git commit -m "git fix message here"
Hilarious Hoopoe