That's what git-stash is for. You can stash your changes using
git stash
and get them back using
git stash apply
when you are done you should clear your stash using
git stash clear
If you want to just delete your changes you can use
git reset --hard
git clean -fd
Info taken from here.