test: isolate git config in the go-git bump tests

main

Commit

Muskan Paliwal12h ago

Use testutil.RunGit instead of a local runGit, run git --version with gitenv.Isolated, and pin the checkpoint trailer in the missing-tree case.

Entire-Checkpoint: 01M6NW9D8W2KETP0MWV4ZRXY8V