GitHub,
Explained
The short version
GitHub is a shared
filing cabinet with a
time machine,
used by programmers
all over the world.
It doesn't just keep the latest version of a file. It keeps every change, from day one until today. Want to go back to any day? You can.
First, clear up
the biggest mix-up
In short: a cloud drive tracks what things look like now. GitHub tracks how they got that way.
One metaphor
explains it all
Think of it as save files in a video game.
Every time you finish a small chunk of work, you save, and you write one line: "here's what I changed." Saves never disappear, and you can load any of them. About 80% of GitHub's vocabulary makes sense through this one picture.
How one person
uses it
Working alone, these five steps are enough. The "many people" part starts now.
How many people
avoid fighting
This is where GitHub earns its keep. Hundreds of strangers can edit the same thing without chaos because of one rule: nobody touches the main line directly.
In short: the main line belongs to everyone. To touch it, you hand in a note and someone signs off. That rule is the whole secret of why it stays tidy.
The buttons
on the page
A cheat sheet
of terms
Come back here when you meet a word you don't know. No memorizing.
One thing
to be careful about
can be opened
by the whole world And because it records history, even if you delete a password later, it is still sitting in the old save. Deleting doesn't make it gone. So never put passwords, keys, or customer lists in at all. It's the most common beginner trip-up.
storing files. It turns
"changes" into something
people can discuss.