git-source-control should have APIs similar to $$Env^%buildccr, $$IsLIVE^%buildccr (to support different stages for environments)