git common commands git log --max-count <number>: limit the number of commits to output git-log https://git-scm.com/docs/git-log#Documentation/git-log.txt---max-countltnumbergt