title: How can I configure KDiff3 as a merge tool and diff tool for git?
body: <p>Recently I was using GitExtension 2.46, but the Git version that has the same is 1.9.4.msysgit.2. Willing to use only Git commands, I uninstalled GitExtension and install the latest version available of <a href="https://git-scm.com/downloads" rel="noreferrer">Git</a> and <a href="http://kdiff3.sourceforge.net" rel="noreferrer">KDiff3</a>.</p>
  <p>When I make a merge and have conflicts, I run the following command:</p>
  <pre><code>git mergetool
  </code></pre>
  <p>Then I receive the message:</p>
  <blockquote>
  <p>The merge tool kdiff3 is not available as 'kdiff3'.</p>
  </blockquote>
  <p>I guess it must be by the KDiff3 path.</p>
  <p><strong>Environment</strong></p>
  <ul>
  <li>OS: Windows 10</li>
  <li>Git 2.6.1.windows.1</li>
  <li>KDiff3 0.9.98 (64 bit)</li>
  </ul>
  <p><strong>Questions:</strong></p>
  <ul>
  <li><p>What do I have to configure in the .gitconfig file for the command <code>git mergetool</code> to open the KDiff3 GUI with the versions <strong>LOCAL</strong>, <strong>REMOTE</strong>, <strong>BASE</strong> and <strong>MERGED</strong> of conflicted file?</p>
  </li>
  <li><p>How can I configure it to use it as a diff tool?</p>
  </li>
  </ul>