Git Commits To Push
If your local branch is ahead of a remote branch Git can quickly tell you which commits differ between the two.
git log master ^origin/master
And there you have it, your pending commits waiting to be pushed.
Googled from coderrr.