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