Make git failures visible to the user

If a "git" command fails, print out the git error message to the user.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>