I’m new to OpenMRS and was able to download and start Reference Application 2.3.1 Standalone Edition from http://openmrs.org/download/. Now I want to clone this release from git. As I understand it should be on https://github.com/openmrs/openmrs-distro-referenceapplication/. Though cannot understand what branch/commit should I clone from, to get this released version source code?
The standalone gets built using the standalone, the ref app is just distribution that is made up of several modules and the platform and there is almost no code you would want to look at in its github repo. If you wish to look at the source code, you need to look at that of the individual modules or the platform. You might need to know which feature whose code you wish to look at in order to determine the module or platform code to look at.
Standalone Edition of Reference Application is just a way of delivering the application & database in an “all-in-one” package to make it easy for people to run.