Reduce the verbosity of git calls.
has_commit is an integer.