What it does
This script is hacket together to make merging multiple repos into one as easy as possible. It clones each sub-project and then uses git-filter-repo to move each repo into a sub directory. Finally it uses https://github.com/robinst/git-merge-repos for the final merge.
In other words, it takes this:
| project-1 (separate repo) | - dir-1 | - file-1.txt | - README.md