API docs: debt: codeintel/gitserver.DefaultBranchContains is not optimal or tested
Created by: slimsag
See explicit tradeoffs made in https://github.com/sourcegraph/sourcegraph/pull/25193 - TODO here is basically reimplement this more optimally and add tests.