Added git version check (runtime & build time)

Signed-off-by: Robin Green <greenrd@greenrd.org>