git rev-list origin..HEAD
This lists the commits in your branch (HEAD) that are not in origin.
Generically, if your remote is called foo and your branch is bar:
git rev-list foo/bar..HEAD
@charlesb is the answer for being in the master branch with remote called origin.