I have multiple courses folders with all the files and exercises. Each one is a separate repo like this:
- courses (main folder; not a repo yet) - course1 -.git -ex1 -ex2 -... - course2 -.git -ex1 -ex2 -... Problem is I don't want to push them to separate remotes, I would like to create a "courses" repo on GitHub and push all other repos, while keeping isolated history for each course, and still being able to clone an individual course or the main courses folder with all included.
What would be the best approach to achieve this? I tried it with git-submodules but as far as I know I would have to publish each repository anyway.