Do you have a git repo for the code or something?
I do not. I have an archive folder where I keep old versions of my mods.