check differences between remote origins code example Example: git diff with remote branch git diff @{upstream}