Ensure that files are under version control such as with
gitlab,
github or
bitbucket. Version control systems
support the recovery of previous versions of the file, to always be
able to go back to a previous working version of the software, for
example. Also these software development repositories support
multiple people working on the same project. They also facilitate
sharing of the software more broadly, contributing back to the
community from which we are all benefiting. If the material is not
public then the repositories can be marked as private, or as open
source software, gitlab can be installed
on your own internal server.