Using builder patter to list commits in a repo