Set up for Development and PROD environmet

Hi
I am newbie in ERPNext, this is great tool and as i developer i am exploring it.
I am not sure how to set up the development environment and make this available to another machine for PROD environment.
Like all the changes and with data clean.
This would be great help …
Thanks in advance

The place to start is the git repository.

You should fork the application, create new branches, and push the branches onto git, then pull the branches into your deployments

I recently created such an environment. The readme file may have some clues on how to proceed.