$ git stash list
$ git stash show
$ git stash save "command message stash"
- Retrieving stashed changes
$ git stash pop stash@{0}
// or
$ git stash apply stash@{0}
$ git stash clear
$ git stash drop <stash_id>
$ git stash show stash@{0}
$ git stash show stash@{0} --patch
- Checking out to a new branch
$ git stash branch <new_branch> stash@{0}
- Stashing without disturbing the stash reflog
$ git stash create "sample stash"
63a711cd3c7f8047662007490723e26ae9d4acf9
// Sometimes, you might decide to push the stash entry created via git stash create to the stash reflog:
$ git stash store -m "sample stash testing.." "63a711cd3c7f8047662007490723e26ae9d4acf9"
$ git stash list
stash @{0}: sample stash testing..