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