← Git & GitHub Basics

Lesson 1 of 3 · 8 min

Snapshots with commits

A commit is a saved snapshot of your project with a message describing the change.

git add stages files; git commit -m "message" saves the snapshot.

Practice

Initialize a repository, add a file and make your first commit with a clear message.

Quiz

+50 pts
1. A commit is…
2. Files are staged with…

Optional resources

Your lesson toolkit

No purchase or partner signup is required to complete this course or earn quiz points.

These are official product links, not active affiliate links. Learnly does not currently earn a commission from them.

GitHub

Host your practice repository and open your first pull request.

Free plan available; paid plans optional.

Explore tool