git how to check the diff local versus remote code example Example: git diff with remote branch git diff @{upstream}