The standard output is set to a variable and the result code is handled
by the cmake script, so there is no need for displaying the errors.
The output displayed on screen can be confusing in case of an error,
i.e:
fatal: not a git repository (or any of the parent directories): .git
when building from a github archive and not a repo
clone (see https://github.com/Bitcoin-ABC/bitcoin-abc/issues/371).