title: Providing personal access token on GitHub command line
body: <p>I enabled two factor authentication on my GitHub account and now I can't push to my repositories. I had previously cloned my repositories to my computer and I have been pushing and pulling successfully until I enabled two factor authentication.</p>
  
  <p>I have read up on this problem and I have found that I need to change the SSH to be <code>git@github.com/repositoryName</code>, and I have done this. I have also read that I need to generate a personal access token (PAT) which I have also done.</p>
  
  <p>What I can't seem to figure out is how to provide this new token to the repository on the command line. I am running OS&nbsp;X v10.11 (El Capitan) and ITerm 2.</p>
  
  <p>The error I am getting is:</p>
  
  <pre><code> Error: Repository not found.
   fatal: could not read from remote repository.
  
   Please make sure you have the correct access rights
   and the repository exists.
  </code></pre>