gitserver: refactor gitserver.Client and its usage
Created by: sashaostrikov
Part of https://github.com/sourcegraph/sourcegraph/issues/32315
Removing global gitserver client in favor of creating them locally in an ad-hoc manner.
Test plan
CI + additional main-dry-run build