how to use git stash branch code example Example 1: git stash pop index git stash pop stash@{2} Example 2: git stash contnet git stash show -p stash@{1}