How to Install/update a specific version of frappe/erpnext

Can anyone help me with the installation/updation of the erpnext to a specific version .Because i have servers which are of two different versions ,when i am trying to git push there are merge conflicts in the pull request from the other site…Hope anyone give me an anser

try this i hope it useful for you