abort stash apply code example Example: git stash abort git reset HEAD --hard git checkout my_correct_branch git stash pop