Discard output of git command.