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