You do not have to use public Git repositories to deploy a Mendix app on OpenShift.
The standard approach is:
There is no alternative official build mechanism for Mendix; in compliant environments, the supported solution is to internally mirror the Mendix buildpack.