git stash restore code example
Example 1: how to undo a git stash
git stash apply
Example 2: how to revert a git stash
$ git stash show -p stash@{0} | git apply -R
Example 3: git stash back
git stash pop
Example 4: how to get stashed on git
git stash pop
Example 5: how to get stashed on git
git stash pop or
git stash apply