title: How to convert a readonly git clone from github to a forked one
body: <p>From time to time I encounter this issue.</p>
  
  <p>Let's say that I did following to read the source code of rails because I am running into some issues.</p>
  
  <pre><code>git clone git://github.com/rails/rails.git
  </code></pre>
  
  <p>During the research I tested something and now I have a fix I would like rails core team to take a look at. How do I push my changes to a forked version of rails.</p>
  
  <p>Remember when I cloned, I did not clone a forked version but a read-only version.</p>
  
  <p>It is not that I am opposed to forking. It is just that sometimes I think I am just going to browse then I want to add something.</p>