Code repositories
A central store for a project's source code and its version history, shared by a team through commits, branches, pull requests and access settings (private or public).
Understanding Code repositories in VCE Software Development U4O2
What it does: Creating a pull request from a feature branch into main opens the changes for peer review, which supports secure code review in a shared repository. The --private setting limits access to approved team members, while a public repository can be viewed by anyone. A repository keeps the source code plus the history of every change, so the team can see who changed what and go back to earlier versions. Each commit is a snapshot in the version history. The author and message let the team trace changes. Public code can be read by anyone, including threat actors. Passwords and API keys should be kept outside source code.
Common mistakes: There is no 'adds' command. The staging command is 'git add main.py', which prepares the file for the next commit to the repository. The commit message must follow the -m flag. It should be: git commit -m "Add login form".
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 49–72) and word search (Modules 49–130).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
code repositoryFill in the Blanks
Spot the Error
Student with a class code? Join your class →