GroupProject-Showcase/
├── .gitmodules
├── README.md
├── CONTRIBUTING.md
├── Courses
├── Intro-to-Python
└── projects/
├── GroupProject1/ (submodule)
├── GroupProject2/ (submodule)
└── GroupProject3/ (submodule)
├── Data-Analytics
├── Intro-to-JavaScript
├── Advanced-JavaScript
├── Cybersecurity
Note: A Git submodule is a repository embedded inside another repository. In this structure, each group project is added as a submodule, allowing you to keep your project code separate while linking it to the main showcase repository.
Project Folder (inside the student's repository):
year-season-projectname
Branch Name (inside ReDI's repository):
year-season-projectname-yourname
This diagram shows the general structure and workflow for organising group projects in Git and GitHub. There are 2 repos involved. ReDI School maintains the main repository (repo1), while each student or group has their own separate project repository (repo2) on GitHub.
- Student creates their group's separate repo on GitHub
- They clone the ReDI School's repository to their computer using VS Code.
- They create a new branch in the school repository for their project.
- Inside their branch, the student adds their own project as a submodule, linking ReDI to their GitHub repo.
- When the branch is ready, they push their branch to GitHub and create a pull request
- ReDI School reviews the pull request and, if everything looks good, merges it into the main branch.