Checks for a diff/mergetool and configures git for it