title: Merging Related Git Repositories
body: <p>I have two related repositories and I would like to merge changes from one to the other. My repository was created from an export of an old legacy repository and some changes were made but the structure largely kept so my repo has new files and a few new names but 90% is the same. Now, some fixes had to be made to legacy software and I want to bring the latest changes to the legacy repo in. I have both repositories checked out on my computer, but it is unclear what the best option is.</p>
  <p><a href="https://i.stack.imgur.com/JXyDz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JXyDz.png" alt="enter image description here" /></a></p>
  <p>Some ideas:</p>
  <ol>
  <li>I could try and set the legacy repo as a branch and merge it into the main.</li>
  <li>I could try and rebase all commits since the archive onto my repo.</li>
  <li>I could cherry pick all commits from legacy and then apply them to my repo</li>
  </ol>
  <p>What is the most direct way?</p>