Git & Version Control
Main (or Master)
What It Is
The primary branch — the "official" version of your code
Analogy
The published version of a book. Other branches are drafts being edited
Try It Out
Branches
maindefault
10 commitscurrent
develop
3 commits
Related Terms in Git & Version Control
Git
Track Changes in Microsoft Word, but for your entire project, and you control when to save checkpoints
GitHub
Google Drive for code — your files exist locally, but GitHub is where you back them up and share them
Repository (Repo)
A folder with a detailed diary of every change ever made to it
Commit
A save point in a video game — you can always go back to it if things go wrong