how to see my unpushed commits git cmd code example Example: get unpushed commits git log origin/master..HEAD