Module 01 of 12

Version Control Fundamentals

Lessons

About This Module

Everyone has a folder full of report_final.doc, report_final_v2.doc, and report_final_REALLY.doc. Version control replaces that mess with a single, reliable history: every change recorded, every earlier state recoverable, and many people able to work on the same project without overwriting each other. Most people learn Git by memorizing commands. This module helps you understand what Git is actually doing first, so the commands make sense when you get to them.

You'll start with why version control exists and how centralized systems differ from distributed ones like Git, where every developer has the full history on their own machine. Then you'll see how Git protects your work, how it stores your project as a series of snapshots (commits) rather than a pile of diffs, and the places your code lives: the working directory, the staging area, the local repository, and a remote repository. Finally, you'll see how branches and tags let teams keep several versions of the same software alive at once.

Watch the lessons in order, then continue on to Terminal & Git Setup.

Lessons

4 videos
01

What is Git? Explained in 2 Minutes!

Mosh Hamedani explains why we need a version control system, compares centralized and distributed systems, and explains why Git became the most popular choice in the world.

02

Git Overview

Computerphile's Dr Max Wilson explains Git as a way of protecting your code from yourself and from collaborators, walking through commits, branches, and remote repositories like GitHub.

03

How Git Works: Explained in 4 Minutes

ByteByteGo's animated walkthrough of the four places your code lives (working directory, staging area, local repository, and remote repository) and which commands move changes between them.

04

Git Version Control _final_new_final.new

Computerphile follows up with a look at versions and branches: why "final_new_final" filenames fail, and how companies use release branches and tags to maintain old versions while building new ones.