title: GitPython unable to set the git config username and email
body: <p>I am writing a python script that uses GitPython(<a href="https://gitpython.readthedocs.io/en/stable/" rel="noreferrer">https://gitpython.readthedocs.io/en/stable/</a>) to commit my local files to a remote repository. After making the edits to my files, I set the vaue of username and email as shown in the following snippet:</p>
  
  <pre><code>      repo = git.Repo.init("my local clone path")
        repo.config_writer().set_value("name", "email", "myusername").release()
        repo.config_writer().set_value("name", "email", "myemail").release()
        repo.git.add("filename")
        repo.git.commit("filename")
        repo.git.push("my remote repo url")
  </code></pre>
  
  <p>I always encounter the following error:</p>
  
  <pre><code> stderr: '
  *** Please tell me who you are.
  
  Run
  
    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"
  
  to set your account's default identity.
  Omit --global to set the identity only in this repository.
  </code></pre>
  
  <p>Even though I have set my username and password using config_writer() function as mentioned here: <a href="http://gitpython.readthedocs.io/en/stable/tutorial.html#handling-remotes" rel="noreferrer">http://gitpython.readthedocs.io/en/stable/tutorial.html#handling-remotes</a></p>
  
  <p>Any suggestions on how to fix this will be highly appreciated.</p>