Update FindDefaultBranchName to add HeadOnly option
We want to progressively migrate gitlab-rails away from the heuristic that this RPC usually uses. There were too many failures to do this using a feature flag. So instead here we introduce a flag to control the behaviour.
Updates RPC documentation while in the area.
Edited by James Fargher