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