Show the latest n git commits

Usually the repository has many commits.

You can list the last 3 commits alone only by using this command:

git log -n 3
or, a shorter form of it:
git log -3