CHAPTER 13

Git and GitHub

Version control fundamentals and collaborative workflows every developer needs.

GitGitHub
1 min read Last updated: 2026-03-01

Git is version control: an undo system for your entire project. Every meaningful change is saved as a “commit” (a snapshot). You can go back to any snapshot, create parallel versions (“branches”) to experiment safely, and merge changes from different developers without overwriting each other’s work. GitHub is a cloud platform that hosts Git repositories online, adds collaboration features (pull requests, code review, issues), and connects to deployment platforms.

ConceptWhat It IsAnalogy
RepositoryYour project folder, tracked by GitA filing cabinet for one project
CommitA saved snapshot with a descriptionA save point in a video game
BranchA parallel version for isolated workA separate draft of a document
Pull RequestA proposal to merge changesSubmitting your draft for review
Push / PullUpload to / download from the cloudSyncing with a shared drive

🔑 For Vibe Coders

Even if AI writes all your code, you need Git. Most deployment platforms (Vercel, Netlify) connect to GitHub: push code, and they auto-deploy. Understanding commit, push, and pull is essential.


Additional Learning Resources