HPCC-10145 Spurious warnings when git.sh fetches from remote repo

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>