Each save should increment a version number and one should be able to see old versions of a shader and possibly fork from one.