Move GetDefaultBranch and GetDefaultBranchShort to gitserver client
Created by: mollylogue
Part of the ongoing work for https://github.com/sourcegraph/sourcegraph/issues/33280
Test plan
Unit tests need to pass
Created by: mollylogue
Part of the ongoing work for https://github.com/sourcegraph/sourcegraph/issues/33280
Unit tests need to pass