Git log
git log shows the commits on the current branch, newest first, with the hash, author, date and message.
Add --oneline for one short line per commit, -3 to show only the last 3, and --graph to draw branches and merges.
A short list of commits
git log --oneline
d54ff3f (HEAD -> main) Merge branch 'hello-world-images'
b4d3923 Updated index.html with emergency fix
6a68478 (hello-world-images) Added image to Hello World
90fe82c Added new line to index.html
f50d2ba First release of Hello World!
Draw the branches
git log --oneline --graph
* d54ff3f (HEAD -> main) Merge branch 'hello-world-images'
|\
| * 6a68478 (hello-world-images) Added image to Hello World
* | b4d3923 Updated index.html with emergency fix
|/
* 90fe82c Added new line to index.html
* f50d2ba First release of Hello World!