git compare files in 2 branches code example Example: diff specific file git different branches git diff mybranch master -- myfile.cs