The method `Commit.prototype.show` calls `this.repo.git.show` if the commit has no parents. However, `git.show` does not exist, so this results in a `TypeError`
The method
Commit.prototype.showcallsthis.repo.git.showif the commit has no parents.However,
git.showdoes not exist, so this results in aTypeError