I got two repos with the following folder structure:
> folder1
>.git
> file1
> file2
> folder2
>.git
> file3
> file4
Now I want to create a new repo combining the two formerly independent root folders under one common root:
> repo
>.git
> folder1
> file1
> file2
> folder1
> file3
> file4
How would I do that in Git without losing the history of either formerly independent repository?