Note: Replace thing with your own repo name in the examples. 1. Create a repository which will store all your code mkdir monorepo && cd monorepo git init . echo "# MonoRepo" > README.md git add . git commit -m "first commit" 2. Clone one of the existing repositories to a temporary location Example Remote: ssh://git@code.company.com/thing.git mkdir /tmp/thing git clone ssh://git@code.company.com/thing.git /tmp/thing cd /tmp/thing 3. Use git filter-branch to rewrite the history into a sub-direc...