I'm wondering if the ````commit_lookup```` and ````walk_head_commits```` belong in the same class as the methods that define what a repository is?