bin/get_formulas.py: do not hide the stdout/stderr from git commands
instead of hiding the stdout/stderr, we pass --quiet to whichever git
subcommand supports it, and check the exit status code. This way the
errors are not hidden, and the script (or the test job) actually fails
if there is an issue