title: Change GitHub credentials in PyCharm
body: <p>I am learning to use GitHub and so far only from PyCharm. Recently, I updated my GitHub page with a new username, email and address. I changed the credentials in PyCharm going to <code>Settings</code> <code>&gt;</code> <code>Version control</code> <code>&gt;</code> <code>Github</code> and running the test I do get the message successful connection. However, when I try to commit my projects I get a failed connection message as it tries to reach the old address. This is the message I get:</p>
  <pre class="lang-none prettyprint-override"><code>Push failed:
  ProjectName: failed with error: Authentication failed for 'Old_Repositoriy_url' 
  </code></pre>
  <p>It seems other users are experiencing a <a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000325944-How-to-change-remote-git-repositories-credentials-" rel="nofollow noreferrer">similar error</a>, however, I do not know how to change my git credentials from the terminal...</p>
  <p>I am using PyCharm 2017.2 in Ubuntu 16.04</p>