git apply --reverse
git reset HEAD --hard
git reset HEAD --hard git checkout my_correct_branch git stash pop