how to check difference between master and branch code example Example: git check diff against master git diff master...branch