difftool: avoid $GIT_DIR and $GIT_WORK_TREE