I'm not proud of it, but my #1 "Oh shit" git operation is to just delete my local repo, reclone, and reapply the changes. Works really well for me 95% of the time. The rest I ask dev ops guy to help.
replies(3):
git unshit
Or git add --unshit -f ~HEAD^^
If you’re using git version <= 2.844.