Module 06 of 14

Version Control

Lessons

About This Module

Version control tracks every change to your code so you can undo mistakes, work on features without breaking the main codebase, and collaborate with other people on the same project. This module covers Git — the tool almost every team uses — from your first commit through branching, merging, and working with a remote repository on GitHub.

These skills apply outside frontend work too, but you'll use them on every project from here on. Work through these lessons in order, then move on to Package Managers.

Lessons

7 videos · 1 article
01

Git Basics: Init, Add & Commit

Turning a folder into a Git repository and making your first tracked commits.

02

Branching & Merging

Working on features in isolation with branches, then bringing that work back into main.

03

Working with Remotes & GitHub

Pushing and pulling changes to a remote repository, and setting up a project on GitHub.

04

Resolving Merge Conflicts

What causes a conflict, how Git marks it in your files, and how to resolve it cleanly.

05

Pull Requests & Code Review

Opening a pull request, responding to review comments, and the typical team workflow around it.

06

.gitignore & Commit Best Practices

Keeping unwanted files out of version control, and writing commits that are easy to read later.

07

Undoing Changes: Reset, Revert & Rebase

The different ways to undo or rewrite history, and when each one is the safer choice.

08

Version Control Reference Guide

A written reference covering common Git commands and workflows, good for a quick lookup after watching the videos.

Article