title: How to migrate multiple repositories into a mono-repo while maintaining commit history?
body: <p>I'm trying to migrate a few Git repositories into one monorepo.</p>
  
  <p>I have two project repositories, let's call them <code>project1</code> and <code>project2</code>. In my monorepo, I want to have a <code>projects</code> directory with two subdirectories, <code>project1</code> and <code>project2</code>. Each subdirectory should contain the files from the corresponding project, with the Git history maintained.</p>
  
  <p>Is this even possible with standard Git commands?</p>
  
  <p>Note: I have looked at Lerna - <code>lerna import</code> does exactly what I need, but unfortunately it only works with JS projects, and one of my projects is a Ruby project.</p>