WeCodeAcademy

What is Git?

Git is a tool that remembers every version of your project. You can look back at old versions, try ideas safely on a branch, and share work with other people.

Think of it as a save game for code: each save is called a commit, and it comes with a message that says what changed.

The practice terminal on every page understands the most useful Git commands. Nothing leaves your browser. Check that Git is ready:

Examplebash
Open in editor »
/ $

Four words you will meet again and again:

  • Repository (repo): a project folder that Git is tracking.
  • Commit: one saved snapshot of the project.
  • Branch: a separate line of work.
  • Remote: a copy of the repo kept somewhere else, such as GitHub.
Quick check

What is a commit?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.