I\'m observing something that is not consistent with what I know about the git checkout command. While on a branch other than master, I make some m
git checkout
master
Until a change is staged (using git add), it just exists in the working directory - it is not tracked by git, and therefore will exist in any branch you checkout.
git add