title: Expected committer issue — when doing git push
body: <p>so my issue is a difference between the expected committer and the actual committer.</p>
  
  <p>When I try to push, it will say: </p>
  
  <blockquote>
    <p>Expected committer name "XXXXXX" but found "YYYYYY". Expected
    committer name "XXXXXX's email" but found "YYYYYY's email".</p>
  </blockquote>
  
  <p>My name and email are the ones git "found", I do not know why it's expecting somebody else to do the commit/push.</p>
  
  <p>My <strong>git config --list | grep user</strong> will display the correct information "YYYYYY" and "YYYYYY's email".</p>
  
  <p>I have tried pushing with <code>**--amend --reset-author**</code> or <code>**--amend --author="YYYYYY &lt;YYYYYY's email&gt;"**</code> and even <code>**--allow-empty**</code> but it always ends with the same result, I cannot do the push unless I edit my global configs and say that I'm another user which would be false.</p>
  
  <p>Any ideas on how to solve this?</p>