Stash your changes. (If you want to stash new files, do git add .
first.)
$ git stash
List your stashes
$ git stash list
Pull out the latest stashed changes
$ git stash pop
Pull out a specific set of stashed changes
$ git stash pop <ref> # e.g. git stash pop stash@{1}
Wipe your stash
$ git stash clear