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