I personally use GitHub and plan to put more code on it—maybe even make it somehow public, which is also another way of preservation that it becomes replicable for basically anybody.
Kim Asendorf, Kim Asendorf on Elegant Symbiosis
Around 2014, 2015, 2016, it was generally a case of cloning a GitHub repo, training it on a folder of data, and then sampling some random samples.
Memo Akten, Memo Akten on Rituals as Algorithms