
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 24-lesson course built from freeCodeCamp.org's 3h 44m of YouTube video. 3 days 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 course goals, the difference between Git and GitHub, and set up the required tools (Warp terminal, VS Code).
Initialize a folder as a Git repository with `git init`, inspect the hidden `.git` folder structure, and understand that Git tracks only initialized folders.
Practice `git status`, stage files with `git add`, create a commit with a message using `git commit -m`, and observe the resulting repository state.
Explore the `.git` directory structure (objects, refs, HEAD, config) and understand that HEAD points to the current branch tip.
Understand how commits form a chain via SHA hashes and parent pointers, enabling time-travel to previous states.
Set global `user.name` and `user.email` with `git config`, configure VS Code as the default editor, and locate the global `.gitconfig` file.
Create a `.gitignore` file to exclude sensitive files (like `.env`) and folders (like `.vscode`) from tracking, using generators for common templates.
Create branches with `git branch`, switch with `git checkout` or `git switch`, use `git checkout -b` shortcut, and visualize HEAD movement across branches.
Perform a fast-forward merge and a true merge (merge commit), understand the merge commit message, and delete merged branches with `git branch -d`.
Create a merge conflict by editing the same file on two branches, resolve it manually by editing conflict markers, stage the fix, and complete the merge commit.
Understand rebasing vs. merging, rebase a feature branch onto master, resolve rebase conflicts with `git rebase --continue`, and learn the golden rule: never rebase shared commits.
Use `git stash` to save uncommitted work temporarily, switch branches, and restore changes with `git stash pop`; manage multiple stashes with `git stash list` and `git stash apply`.
Detach HEAD to inspect past commits with `git checkout <commit-hash>`, compare commits with `git diff`, and return to the branch tip with `git checkout master`.
Create a GitHub account, generate an Ed25519 SSH key, add it to the SSH agent, and register the public key on GitHub for passwordless CLI authentication.
Link a local repo to GitHub with `git remote add origin`, push with `git push -u origin master`, distinguish `git fetch` (download only) from `git pull` (fetch + merge), and clone existing repos with `git clone`.
Follow the open-source contribution roadmap: discuss via issues, fork the repo, create a feature branch, commit changes, push, and open a Pull Request; understand maintainer review and merge.