gitserver: add db connections which are needed for future use in gitserver client
Created by: sashaostrikov
Preparing a DB connection which will be used in Gitserver client
Part of https://github.com/sourcegraph/sourcegraph/issues/32315
Test plan
See that no existing tests are failing