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