GCSE · Computer Science · Eduqas · Spec C500QS
Revision control
Three programmers, one game, one big problem: nobody knows who broke it, or how to undo it.
Computer Science · Revision control
Combine or conflict?
Pick a pair of edits, then pick what happens when the two programmers' work is brought together.
Still to sort
Combined into one version (0)
The two sets of changes do not clash.
Where the line is: Different people changing different parts of the project (even in the same file) can be merged into one version.
Conflict: must be resolved first (0)
Both people changed the same part in different ways.
Where the line is: A conflict needs both things: the same part of the file, and different changes to it. Until someone resolves it, the versions cannot be combined.
Two programmers start from the same version of one file and edit it separately. Revision control now has to bring their work together. Decide what happens for each pair of edits.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Keep every version of a program, see what changed, undo what broke it, and combine a team's work.
What you need to know
- Revision control is utility software that records the changes made to files, such as program code, over time.
- Each saved set of changes is stored as a separate version (revision), so a history of versions builds up.
- Every version is stored with who made the change, when it was made and a short description of it.
Have a goYour classmate Zed says, "Revision control is just a fancy Save button." Name the three details stored with every version that show Zed is wrong.
Who made the change, when it was made, and a short description of what was changed.
A plain save only leaves you with the newest file; revision control keeps each version together with those details.
- Because the versions are kept, earlier versions of a file can be viewed, not just the newest.
- Comparing two versions shows exactly which lines were added, removed or changed.
Have a goVersion 2 of a file is identical to version 1, except it has one extra line at the very end. What does comparing the two versions show?
One line added, and nothing removed or changed.
A comparison reports line by line, so only the extra line differs; it does not mark the whole file as changed.
- A file can be restored (rolled back) to an earlier version, for example when a later change introduced an error.
Have a goA change has broken your program. You have opened an older working version to look at it, but your current file is still broken. Which action puts the working version back: viewing, comparing or restoring?
Restoring (rolling back) the file to that earlier version.
Viewing and comparing only let you look; restoring is the action that returns the file to the earlier version.
- Every change is recorded with its author, so the changes of different people on the same files can be tracked.
- Changes made separately by different people to the same project can be combined (merged) into one version.
- If two people changed the same part of a file in different ways, that is a conflict, and it must be resolved before the versions can be combined.
- So a team can work on the same code at the same time without overwriting each other, and can find and undo the change that introduced an error.
The big picture
Revision control is utility software that records the changes made to files over time. It keeps each saved set of changes as a separate version, stored with who made it, when and a short description. That history lets you view earlier versions, compare two versions, restore an earlier one, track who changed what, and merge separate work into one version. Edits only conflict when two people change the same part of a file in different ways.
Key points
Worked example
Problem
Mia and Tom both start from the same version of quiz.py, where line 8 says lives = 3. Mia changes line 8 to lives = 5. Tom changes line 8 to lives = 2. They try to bring their work together. What happens, and what must they do?
⚠ Watch out
Thinking revision control is only a backup copy, or that two people editing the same file always clash. It keeps a labelled history of versions, and separate changes combine; only different changes to the same part conflict.
Memory hook
Think of a time machine with name tags: every version is kept and labelled with who, when and why, and you can step back to any of them.
Check yourself
Without looking back: a project's history lists six versions. Say what each entry tells you, and name two things you could then do with any one of those versions.
Flashcards
(13)What is revision control?
What does revision control store each time a set of changes is saved?
What details are stored with each version?
Why can earlier versions of a file be viewed?
What does comparing two versions show?
What does restoring (rolling back) a file do?
How does revision control let a team track changes?
What is merging?
When do two people's changes conflict?
What must happen to a conflict before the versions are combined?
Two people edit different parts of the same file. Conflict?
How does revision control stop programmers overwriting each other?
How does the history help when a program has an error?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Eduqas GCSE Computer Science topics
How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.