What is Git?
Git is free software that tracks every saved change to a project's files, so you can go back to any version and several people can work together safely.
Last updated
In real life
Like unlimited undo for a whole project, with a note on every step saying what changed.
Try it yourself
The demo puts a made-up bakery page under Git. Add opening hours or change the button, commit each change with a message, then roll back to any earlier version. The roll-back is a new commit, so no version is ever lost.
Your working copy (branch: main)
Rosa's Bakery
Order nowMake a change
History of the rosas-bakery repository (1 commit)
This lesson- a1f3c9 First version
Branches
A branch is a safe copy to try an idea on.
Git keeps every saved version. Make changes, commit them, then roll back to any earlier version: the roll-back is a new commit, so nothing is lost.
Git vs GitHub
Git is the tool that tracks changes, and it runs on your computer. GitHub is a website that stores Git repositories online so people can share and work on them together.
Common questions
Where you will use this
Quick check: Git
Question 1 of 3