To avoid having to provide a file name twice, use the following:
git difftool branch -- file
This will compare branch:file with file in the working tree.
In addition, to split the entire working tree into branch , use:
git difftool --dir-diff branch
As mentioned in other answers, if you need to split branch into other_branch (any branch is different from what is currently checked), you should first check other_branch before using the above commands.
source share