Whenever you call out to `git`, please redirect `stderr` to `/dev/null`.  This keeps the error output low when `git` is unavailable.