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