see changes to be pushed git code example Example 1: see changes to be pushed git git diff --stat origin/master.. Example 2: see changes to be pushed git git cherry -v