title: Create a new git repository from a existing local branch
body: <p>I have a Git repository with two branches: <code>master</code> and <code>redesign</code>. The <code>redesign</code> branch was created from <code>master</code>, and <code>master</code> has not been touched since then:</p>
  
  <pre><code>master
  ...|--m50--\
              \--m51--|--m52--|--m53-- redesign
  </code></pre>
  
  <p>The <code>redesign</code> branch has evolved so much that I would like to create a new whole repository from it, taking the first commit of <code>redesign</code> as the initial commit of the new repository and forgetting the previous history inherited from <code>master</code>:</p>
  
  <pre><code>master
  ...|--m50--
  
  redesign
  --r1--|--r2--|--r3--
  </code></pre>
  
  <p>Is this possible with Git? There is a <a href="https://stackoverflow.com/questions/359424/detach-subdirectory-into-separate-git-repository">related question</a> to this, but its goal is to use a directory, not a branch.</p>
  
  <p>Thanks!</p>