Use Gitaly's RepositoryService.HasLocalBranches RPC

93 jobs for gitaly-has-local-branches in 74 minutes and 4 seconds (queued for 4 seconds)