These are commands to set DiffMerge for Windows as default difftool / mergetool
To configure as diff tool
To configure as merge tool
If you want to get more information, you can check SourceGear DiffMerge.
To check all configuration, you can type git config --global -e
and your git file should looks like this: