git restore file with local changes from stash code example
Example 1: git stash apply specific stash
git stash apply "stash@{n}"
or
git stash apply n
Example 2: how to get stashed on git
git stash pop
git stash apply "stash@{n}"
or
git stash apply n
git stash pop