Script to create submodules from nested git repos