I would suggest
- Create a new application in OpenShift
- Install rhc client tools https://developers.openshift.com/en/getting-started-client-tools.html
- Download the project using GIT Open the project in netbeans as Maven Project
- Now you can run the project in you local environment also.
- You can deploy the code to openshift from netbeans via Git push.