From: bcrocker on gitlab.com
Add a GIT macro to Makefile:
GIT ?= git
and replace literal occurrences of 'git' with $(GIT)\ in Makefile and Makefile.common.
This change enables us to override 'git' with, e.g., some\ arbitrary shell script that prints additional information\ and/or does additional processing before and/or after (or\ even instead of) invoking /usr/bin/git.
Signed-off-by: Ben Crocker bcrocker@redhat.com