This is a free preview. Enrol on the course to save your progress and open every lesson.

Lesson 1 of 23 · 10 min

What Git and GitHub are

Saving your work, the professional way

Ever had files like essay-final.docx, essay-final-v2.docx and essay-FINAL-really.docx? Developers had the same problem — with thousands of files and dozens of people. Their solution is version control.

GitGitHub
What it isA free program on your computerA website (github.com)
What it doesSaves snapshots of your project, so you can see history and go backStores copies of your projects online, so you can share them and work with others
Works offline?YesNo

Think of Git as the save system of a video game — every save point is kept, with a note about what happened. GitHub is like a shared online drive for those saves, with tools for teams.

Words you'll use

WordMeans
Repository (repo)A project folder that Git is tracking
CommitA saved snapshot, with a message about what changed
BranchA separate line of work, for trying things safely
Push / pullSend your commits to GitHub / get new commits from GitHub
Pull requestAsking for your changes to be reviewed and added to the main project

Not just for coders

Git works best with text files: code, websites, notes and documentation. Writers, scientists and data analysts use it too. (Word and Excel files can be stored, but Git can't show what changed inside them.)

Try it

Visit github.com/explore and look at a few popular projects. Click Commits on one — that's the history of every change, by everyone.

Downloads

1 file to download once you enrol.