title: Git push rejected due to expected committer email
body: <p>Tried to push a local branch with a bugfix to the origin and got message like:</p>
  
  <pre><code>remote: Push rejected.
  remote: refs/head/bugfix/issueX: hash1hash2hash: expected committer email 'a@email.com' but found 'z@email.com'
  remote: refs/head/bugfix/issueX: hash1hash2hash: expected committer name 'A' but found 'Z'
  </code></pre>
  
  <p>The computer is a "shared" test/dev device and 'A' was the previous user. I changed email and name with</p>
  
  <pre><code>git config --global user.name "Z"
  git config --global user.email "z@email.com"
  </code></pre>
  
  <p>The remote server is running Atlassian Stash.
  Already tried <a href="https://stackoverflow.com/questions/33008916/expected-committer-name-git-push-issue">Expected Committer Name Git Push Issue</a></p>