title: Move git repository to another github user
body: <p>There are many answers on Google that point in the same direction, but when it comes to version control I don't want to try anything and then mess up my repository.</p>
  
  <p>I have set up a repository on GitHub and would like to move it to another user, so that I can close the repository. He would then invite me to the repo once it belongs to his account. I guess this is quite a common use case for working with clients - once you finished the project, you hand it over to them.</p>
  
  <p>Now, assuming this is possible, how would I change my local Git settings in the project so that I am now pushing to/pulling from the new location? And, by moving the repo, would I lose the commit history?</p>