git log is the command used to view a repository's commit history — the ID (hash), author, date, and message of every commit.
bash
git logYou should see
commit a1b2c3d4e5f6... (HEAD -> master) Author: Your Name Date: Fri Sep 26 12:00:00 2025 +0630 Add initial project files