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