title: Replace remote Git repo with local
body: <p>I have a remote on GitHub with an old version of my site that's no longer in use. I've since made significant changes to the local copy and want to merge these changes in. Is there a way that I can do this and keep the history that's already in the remote repo.</p>
  
  <p>Is it simply a matter of copying the old .git directory to the new project and doing a <code>git push --force</code> to replace the remote version with my local changes? I would like to keep the same remote repo (and its history) if at all possible.</p>