People say them in one breath, so beginners think they are one thing. They are not. By the end of this page you will tell them apart, and you will have tried Git once in a safe practice terminal.
It saves labelled snapshots of your project and remembers all of them. It works with no internet and no account.
Made in 2005 by Linus Torvalds
You run it with commands
Free, open source
GitHub
A website that stores Git projects
It keeps a copy online so you can back up, share, and work with other people. It is a company's product, not part of Git.
Launched in 2008
Needs an account and internet
Adds reviews, issues, hosting
How copies travel
tap a button
Your laptop and GitHub each hold a full copy. Three words describe how copies move between them.
Press a button to send the package.
Sort it: Git or GitHub?
0 / 8
Tap a card, then tap the bucket it belongs to. (On a laptop you can also use Tab and Enter.)
Push and pull, animated
illustration
Commit on your laptop, push it up, and see what a teammate's push does.
Illustration · simplified, not a real network
YOUR LAPTOPGit
■
↔
GITHUBcloud copy
Both sides start with commit A.
A first taste of Git
preview · no install
A repository is just a folder that Git watches. Turning a folder into one takes a single command. This is a practice terminal inside the page, not your computer: nothing is installed or changed. You will do the real thing in Chapter 6, after you have a terminal (Chapter 3) and Git (Chapter 4).
1
Loading
practice terminal · bash-style
Where this course goes
5 chapters in part 1
3
Your terminal
Open one in any folder and move around with confidence.
4
Install Git
Download, install, fix PATH problems, check it works.