view diff with master in git code example Example: git check diff against master git diff master...branch