git seeing pending commit comment code example Example: get unpushed commits git log origin/master..HEAD