Line At A Time
Level 3: Reading History
Reading History Walk through your project's diary with git log.

Every commit you make goes into your project's history, and git log is how you read it. The modern short form, git log --oneline, shows one commit per line, newest first.

The log also shows where the labels are: HEAD -> main means "you are here, on the branch called main". You'll meet branches properly in the next level.

This repository already has some history. Read it, then add two more commits and watch the log grow.

git log --onelineShows the history, one commit per line, newest first.
git add .Stage your changes.
git commit -m "message"Save the next snapshot.
Your task

Walk through your project's diary with git log.

Open this level in your browser to type the commands at a live git prompt with an animated commit graph.