git compare other branches to master code example Example: git check diff against master git diff master...branch