title: Git push keeps writing commit with wrong username
body: <p>I've created a new project on a shared machine and the commits in my repositories are under the wrong username on Git. I've changed the credentials in the credentials manager in windows, I've followed <a href="https://help.github.com/articles/changing-author-info/" rel="nofollow noreferrer">this guide</a> but the author has not changed, even if when I push it asks me username and password for pushing, and I insert mine. Still, on the repository the author of the commit is not me. I've also tried <a href="https://stackoverflow.com/questions/41349644/commit-with-wrong-username-to-github">this solution</a> but still doesn't work.</p>
  
  <p><strong>What else can I try?</strong></p>
  
  <h3>UPDATE</h3>
  
  <p>Steps:<br>
  - <code>git commit -m "message"</code><br>
  - <code>git push origin master</code>   </p>
  
  <p>Then it asks for email and password. I insert mine, it pushes correctly and then I go to the repository and see this:</p>
  
  <p><a href="https://i.stack.imgur.com/xN0QY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xN0QY.png" alt="enter image description here"></a>   </p>
  
  <p>After git log I see this:</p>
  
  <p><a href="https://i.stack.imgur.com/EfPhM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EfPhM.png" alt="enter image description here"></a></p>
  
  <p>It's all mixed up. </p>
  
  <p>In the repository the name is not correct.</p>