Avoid using a forge-specific API to get a commit log when the
information is already available locally in the cloned repo through a
generic git command.
The commit adds the new method of getting the commit log and compares it
with the original methods, logging if they match or not.
The updated results are returned only if they match.