Git Log Command Quiz
Question
What information does `git log` show you?
Hint
Think about what 'log' means — a record of past events.
Explanation
git log shows the commit history of your repository, listing commits from newest to oldest by default. Each entry includes the commit hash, author, date, and message. It does NOT show the working directory state (that is git status), the staging area (also git status), or branch diffs (that is git diff).
Related Resources
Related Lessons
- git log
Learn how to view commit history with git log.
Related Cheatsheets
- Git Cheatsheet
Quick reference for git log and other inspection commands.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.