Support GIT repositories

For both dist and environ

Change-Id: I632faaa497d09c3ddae0f9db6e121c486324974b