
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 8-lesson course built from freeCodeCamp.org's 1h 21m of YouTube video. 1 day at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by freeCodeCamp.org on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Understand the difference between Git (local version control) and GitHub (remote hosting), and why Git is essential for tracking file history and enabling collaboration.
Create a project folder, add files, run `git init` to start tracking, and inspect the hidden `.git` directory that stores all history.
Stage changes using `git add --all`, `git add .`, and `git add <path>`, and understand how each scopes differently across directories and deletions.
Create branches with `git branch`, switch with `git checkout`, and see how each branch maintains an independent working directory.
Merge branches with `git merge`, handle conflicts when the same lines change in two branches, resolve by editing the file, then complete the merge.
View compact history with `git log --oneline`, detach HEAD to inspect a past commit via its ID, and compare two commits with `git diff <new> <old>`.