I want to have an umbrella repo (monorepo) with multiple projects in such a way that I should be able to clone each project individually, modify and push without having to clone the whole monorepo.
monorepo                                                                                           
  |                                     
  --- project1_repo                                       
  |                                         
  --- project2_repo                                
  |                        
  --- project3_repo
E.g. I should be able to clone project2_repo, modify it and then git push without having to clone the whole monorepo with all projects.
What would be the best approach? Is git submodule the only way for this?
 
     
     
    