git log command
The git log command is used to show the reachable recorded history of a project from the most recent commit snapshot backwards. By default, it will only show the history of the branch you’re currently on, but can be given dierent or even multiple heads or branches from which to traverse. It is also oen used to show dierences between two or more branches at the commit level.