Workflow source code version control

I am new to EPDM and have many questions. I come from a software dev background.

Is anyone doing anything to do source code control for workflow and card and dispatch...?

Maybe using a staging vault and build and test updates to and the custom code stuff. Then exporting and importing them into the LIVE vault. It would be nice to have version control of all the development so that we can have a trail of what happened when and can get back.

Is anyone doing anything like that or tried?

SolidworksSolidworks Pdm enterprise Pdm