git diff between local and remote branch code example Example: git diff between local and remote branch git diff master origin/master