Usually the repository has many commits. You can list the last 3 commits alone only by using this command:
git log -n 3
git log -3