git compare local origin/master to origin master code example Example: git diff with remote branch git diff @{upstream}