<LEARN/>
← Git & GitHub

// lesson 1 of 9

What is version control?

Why developers save snapshots of their work, and how Git helps.

// 1. read the lesson

Imagine writing an essay and saving a copy every time you finish a paragraph: essay-v1, essay-v2, essay-final, essay-final-really. Version control does this for you, neatly, without the messy file names.

Git is the most popular version control tool. It records snapshots of your project called commits. You can look back at any snapshot, see exactly what changed, and undo mistakes without fear.

GitHub is a website that stores Git projects online. It lets you back up your work, share it with the world and collaborate with other people. Git is the tool; GitHub is a place to keep and share what Git tracks.

Almost every tech team uses Git, so knowing it well is one of the first things employers look for, whatever path you choose.

Written by the LEARN team.

Sign in to take the lesson test.

Your answers and code are checked and saved to your account.

Sign in