title: How to add a new github token for an existing private repo?
body: <p>I had to revoke the old Github token for a private repo.</p>
  
  <p>Now generated a new token from Github.</p>
  
  <p>How to add this old token to the existing repo?</p>
  
  <p>Without updating this new token push/pull is failing:</p>
  
  <pre><code>git push origin master          
  remote: Invalid username or password.
  fatal: Authentication failed for....
  </code></pre>
  
  <p>I know how to solve this problem if I can re-clone the repo. However, I want to avoid cloning the repo again.</p>