title: How do I split a git repository?
body: <p>I have a git repository containing several modules, each in their own subfolder, and I'd like to split them into independent repositories, ideally preserving as much of their individual histories as possible. Is there a canonical way of doing this?</p>
  
  <h3>Exact Duplicate</h3>
  
  <p><a href="https://stackoverflow.com/questions/359424/detach-subdirectory-into-separate-git-repository">Detach (move) subdirectory into separate Git repository</a></p>