Blockchain is immutable, therefore the versioning is not supported. There is always only one version on the blockchain.
Even by upgrading the implementation for a contract. The previous implementation gets obsolete, so you have to reinstall the contract to regenerate the code.
node_moduleswe suggest adding
0xwebfolder with the generated classes to the project's repository. You can track later the changes made to the dAPPs (in case of proxies).
But you can also add
.gitignore, as you can reinstall all contracts listed in
0xweb.jsonfile any time later.