title: How to install gitpython with, Failed to initialize: Bad git executable
body: <p>I am trying to install git-python on <em>Windows</em>. I tried to install it using the git command:</p>
  <pre><code>pip install gitpython
  </code></pre>
  <p>It installed just fine and it install in my local app data. The only problem was is when I ran it, it gave me this error:</p>
  <p>Failed to initialize: Bad git executable.
  The git executable must be specified in one of the following ways:</p>
  <ul>
  <li>be included in your $PATH</li>
  <li>be set via $GIT_PYTHON_GIT_EXECUTABLE</li>
  <li>explicitly set via git.refresh()</li>
  </ul>
  <p>In addition I ran pip install gitpython:</p>
  <p>Requirement already satisfied: gitpython in c:\users\morga\appdata\local\programs\python\python38-32\lib\site-packages (3.1.3)
  Requirement already satisfied: gitdb&lt;5,&gt;=4.0.1 in c:\users\morga\appdata\local\programs\python\python38-32\lib\site-packages (from gitpython) (4.0.5)
  Requirement already satisfied: smmap&lt;4,&gt;=3.0.1 in c:\users\morga\appdata\local\programs\python\python38-32\lib\site-packages (from gitdb&lt;5,&gt;=4.0.1-&gt;gitpython) (3.0.4)</p>
  <p>I do not have it the folder of git. I only found anything remotely to git was in my appdata local</p>