Apache Subversion (SVN) is a software versioning and revision control system.
Software developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation.

It should be possible to create a local (internal, not in network) repository or by url (external, network). Features like version diff of single scripts would be nice.

Git is IMO a more popular version control system, and there are several implementations in Codea.

If you search the forum for Git or source control you’ll find several.

I’ve used Codea-SCM extensively:

As well as my own client for the iOS app Working Copy, which is good if you want local, on-device source control: