my old username is still in use
<p>I have changed my user and email for git with those commands</p>

<pre><code>git config --global user.name "maa"
git config user.email "maa@gmail.com"
</code></pre>

<p>I confirmed the change with </p>

<pre><code>git config --global user.name
git config user.email
</code></pre>

<p>and it shows the right names. 
However when I push the old user name is used:</p>

<pre><code>git push -u origin master
remote: Permission to maa/brain.git denied to old_user_name.
fatal: unable to access 'https://github.com/maa/brain.git/': The requested URL returned error: 403
</code></pre>