Add a spawnv_git_cmd() function and use it in fetch-pack.c.