git unstash last stash code example Example 1: how to undo a git stash git stash apply Example 2: how to unstash git stash git stash pop