title: How to make a GitHub repo the same as if it was originally forked from another repo?
body: <p>Say, I saw some sample project on GitHub that I want to try out. If I actually forked from that repo, and then <code>git clone</code> that new repo to my hard drive and make changes and <code>git push</code>, everything is good.</p>
  
  <p>Let's called the above Scenario 1.</p>
  
  <p>But what if I didn't fork, but just <code>git clone</code> the original repo. Now after 5 hours of project changes of file edit, <code>git add</code>, and <code>git commit</code>, how do I make it back to Scenario 1 (as if I forked and git clone from that newly forked repo).  And on GitHub, it should also show that the repo is forked from that original repo as well. All the 5 hours of changes and commit history should be preserved as well, if possible.</p>