Sharing code with git push, pull and clone
clone copies a remote repository to your computer; push uploads your commits to the remote; pull downloads other people's new changes into your copy.
Understanding Sharing code with git push, pull and clone in VCE Software Development U4O1
What it does: git pull fetches new changes from the remote and merges them into your local branch, keeping you up to date. Cloning is the first step for a new team member, as it creates a local repository linked to the remote. You must save a snapshot with git add and git commit first. Only commits are uploaded by git push. Commits stay on your computer until you push them. git clone downloads a repository and never uploads anything.
Common mistakes: git push uploads your commits. To download teammates' new commits you need git pull origin main. There is no git copy command. To copy a remote repository to your computer, use git clone followed by the URL.
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 82–114) and word search (Modules 3–114).
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
git clone, git push, git pullFill in the Blanks
Spot the Error
Student with a class code? Join your class →