git bash compare file in local master with remote master code example Example: git diff with remote branch git diff @{upstream}