05. Version control
How you save the history of your code so you can rewind, branch off experiments, and collaborate without overwriting each other. In practice this means Git (the tool) and GitHub (the platform on top of it).
Entries
| # | Entry | Status | One-line description |
|---|---|---|---|
| 1 | What is version control? | π© COMPLETE | A time machine for your code β and what life looks like without it |
| 2 | Git basics | π© COMPLETE | Repos, commits, branches, remotes β the 5 concepts that explain 90% of Git |
| 3 | GitHub | π© COMPLETE | Git hosting + collaboration tools (PRs, issues, actions) |
| 4 | Branches & merging | π© COMPLETE | Working on features without touching main |
| 5 | Pull requests | π© COMPLETE | How code review is done in practice |
| 6 | Rebase vs merge | π© COMPLETE | Two ways to integrate branches β and when each is appropriate |
| 7 | Resolving merge conflicts | π© COMPLETE | When two branches change the same line β what to do |
| 8 | Git rescue moves | π© COMPLETE | βOh no I broke itβ β undo, reset, reflog, the panic toolkit |
Suggested reading order
1 β 2 β 3 β 4 β 5 β 7 β 6 β 8. Skip 6 until youβve used merge a few times β rebase makes more sense once youβve felt mergeβs pain.
See also
- 09. Tooling & dev environment β VS Codeβs Git integration
- 06. Hosting & deployment β Vercel deploys on git push
- Gotchas β Git