GetCommitBranchStart
Fix #33265 Fix #33370 This PR also fixes some bugs in `TestGitGeneral`.
noImplicitAny