how to compare two branch files in git code example Example: diff specific file git different branches git diff mybranch master -- myfile.cs