git show diff between remote and local code example Example: git check difference between local and remote git diff @{upstream}