I would like to have a multi module project in GitHub where each sub module can be clones separately. For example.,
my_project
-- project-1
-- project-2
So each of those project should have a separate clonable GitHub url and at the same time if I would like to clone the entire repository, I could do so with cloning the top level my_project.
I'm not sure how to do this. I came across submodules and I'm not suite sure if this is the right thing.
All I understand about sub-modules is that I can attach an already existing repository to be part of my other repository. Is this correct? But I want to be able to create new repository from within my top project. Any ideas on where to look at?