git list derails about local commits code example Example: get unpushed commits git log origin/master..HEAD