how to view details of git commit to be pushed code example
Example 1: get unpushed commits
git log origin/master..HEAD
Example 2: get all changes on commit name
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js