Many times I need to take a snapshot of the current working directory as a backup before making experimental changes. Here is what I do.
git stash git stash a