run Git with /dev/null as standard input instead of wasting a pipe