gitserver: pass PATH down in git command tests
Created by: Strum355
In certain environments with specialized PATH setups, expected binaries may not be in the default locations (like in a Nix environment). This PR fixes "bash: git: command not found" when system $PATH
was not passed down in the tests for creating git commands.
Test plan
Will be caught by existing testing infra, and have tested it resolves my issue