The easiest is probably git stash (as all the other answer-ers that beat me to clicking post said). Run git stash save or git stash push, 1 or just plain git stash which is short for save / push: $ git stash