title: Cloned a public repo, pushed back. Permission denied (publickey)
body: <p>Just cloned a <code>public</code> repo that belongs to the <code>company</code> on github where I am an <code>admin</code>. Made few changes and pushing it back.</p>
  
  <p>Firsly, it asks me the <code>username / password</code> pair, and I put my own username and password, and it told me:</p>
  
  <pre><code>Username for 'github.com': 
  Password for 'github.com': 
  error: The requested URL returned error: 403 while accessing https://github.com/KablamoAU/SenchaXCodeBuild.git/info/refs
  fatal: HTTP request failed
  </code></pre>
  
  <p>I solved it by adding <code>ssh</code> to the URL</p>
  
  <p>Than it bugs me out with:</p>
  
  <pre><code>Permission denied (publickey).
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>However I can commit to all the <code>private</code> repos in this organisation and can create other repos as well.</p>
  
  <p>So my question is: </p>
  
  <ol>
  <li>Why doesn't github allow me to commit to <code>master</code> of the cloned repo, but it is a trivial question</li>
  <li>Should I add key to the organization in order to push to the <code>public</code> repo? Or what solution would you provide</li>
  </ol>
  
  <p>PS. Never thought that such a simple issue might take so long time to solve.</p>