Free module
Version control with Git
Learn Git hands on: commits, branches, merging, remotes, pull requests and how to undo mistakes safely.
The lessons
Each lesson is free to read in full. Create a free account to run its commands in a live lab and to sit its quizzes and tasks.
1 · Container lab
Git commits: add, commit and log
I can record my changes as commits and read the history.
Read the lesson2 · Container lab
Git branches: create and switch
I can work on a branch and switch between branches.
Read the lesson3 · Container lab
Git merge and merge conflicts
I can merge two branches and settle a conflict.
Read the lesson4 · Container lab
Git clone, push and pull
I can clone, push and pull from a shared server.
Read the lesson5 · Container lab
Pull requests and code review
I can propose a change and review one.
Read the lesson6 · Container lab
How to undo a mistake in Git
I can undo a mistake without losing work.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.