vcs/git: Move some types into gitdomain
Created by: ryanslade
Part of https://github.com/sourcegraph/sourcegraph/issues/36535
Test plan
Tests still pass, just a move refactor
Created by: ryanslade
Part of https://github.com/sourcegraph/sourcegraph/issues/36535
Tests still pass, just a move refactor