gitserver: Remove execSafe
Created by: ryanslade
It was only used in one place, when calling GetDefaultBranch. All calls
end up in exec
on the server which checks commands using
gitdomain.IsAllowedGitCmd so the check in execSafe
was redundant.
Closes https://github.com/sourcegraph/sourcegraph/issues/33890
Test plan
Unit tests updated