testhelper: Fix git import cycle
This MR fixes an import cycle between the testhelper and git packages, which bars us from using the git command DSL in the testhelper. The fix is to split up the testhelper package into git helpers in internal/git/gittest
and non-git helpers which remain in internal/testhelper
.