From: bcrocker on
gitlab.com
In redhat/Makefile and Makefile.common, add a GIT macro:
GIT ?= git
and replace literal occurrences of 'git' with $(GIT).\
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.