only print git output on errors, not success