git removing stashes code example Example 1: git stash clean command git stash clear Example 2: git remove first stash git stash drop 0