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

#EntryStatusOne-line description
1What is version control?🟩 COMPLETEA time machine for your code β€” and what life looks like without it
2Git basics🟩 COMPLETERepos, commits, branches, remotes β€” the 5 concepts that explain 90% of Git
3GitHub🟩 COMPLETEGit hosting + collaboration tools (PRs, issues, actions)
4Branches & merging🟩 COMPLETEWorking on features without touching main
5Pull requests🟩 COMPLETEHow code review is done in practice
6Rebase vs merge🟩 COMPLETETwo ways to integrate branches β€” and when each is appropriate
7Resolving merge conflicts🟩 COMPLETEWhen two branches change the same line β€” what to do
8Git 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

8 items under this folder.