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.
Turning a folder into a Git repository and making your first tracked commits.
Working on features in isolation with branches, then bringing that work back into main.
Pushing and pulling changes to a remote repository, and setting up a project on GitHub.
What causes a conflict, how Git marks it in your files, and how to resolve it cleanly.
Opening a pull request, responding to review comments, and the typical team workflow around it.
Keeping unwanted files out of version control, and writing commits that are easy to read later.
The different ways to undo or rewrite history, and when each one is the safer choice.
A written reference covering common Git commands and workflows, good for a quick lookup after watching the videos.
Article