git log master..foo will show the commits that are on foo and not on master. Helpful for seeing what commits you've added since branching!
git log master..foo
foo
master