title: Can't push changes from my local system to origin, even after adding public ssh key to Git Hub
body: <p>I have a new system (MacBook Pro) and want to set it up such that it can directly push to my remote repository on GitHub. The steps I followed were:</p>
  
  <ol>
  <li>Generated an ssh key using the command <code>ssh-keygen -t rsa</code>.</li>
  <li>Copied the content from <code>id_rsa.pub</code> into the SSH key area of my Github account.</li>
  <li>Created a repository on GitHub.</li>
  <li>Copied the repository url (https) into my existing local project using <code>git remote set-url origin https://github.com/username/repo.git</code>.</li>
  <li>Took a pull using <code>git pull origin master</code> (which worked without errors).</li>
  <li>While pushing the new changes using <code>git push origin master</code> I got the below error.</li>
  </ol>
  
  <pre><code>remote: Permission to UserName/repo-name.git denied to name.
  fatal: unable to access 'https://github.com/UserName/repo-name.git/': The requested URL returned error: 403
  </code></pre>
  
  <p><strong>Question</strong>: <br> 
   1. Why am I getting the <strong>permissions denied</strong> error even after adding the SSH key to Github? Shouldn't GitHub consider my system to be trusted device after adding an SSH key? <br>
   2. How do I add my system as a trusted device so that I don't get the <strong>permissions denied</strong> error?</p>