As this is independent of a particular `ReferenceCollection`, would it make more sense as an extension method on `IEnumerable<Reference>`, e.g. `repo.Refs.ReachableFrom(commits)`?