git command to get list of all commits code example Example: command to check recent commit git log --name-status HEAD^..HEAD