git difftool how to compare a file on two different branches code example Example: diff specific file git different branches git diff mybranch master -- myfile.cs