Creating the 'log' command to display repository history.