title: Simplest way to backup and restore a github repo
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1251713/backup-of-github-repo">Backup of github repo</a>  </p>
  </blockquote>
  
  
  
  <p>What is the simplest way in which I can backup a github repo and some time later (after deleting the repo on github) recreate the repo to that it's in the same state as it was before?</p>
  
  <p>Among other concerns, I'm not sure if a simple <code>clone</code> will fetch all of the remote branches etc.</p>