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