checkout git repository if in production in order to work with deployment settings