Since I am into retro, I thought about hobby programming on an old machine that runs FreeDOS. I considered using version control systems, though I don't remember using any about 30 years ago when my main (and only) machine was running MS-DOS. My search led me to the following threads:
- [Freedos-user] Git for DOS?
- [Freedos-user] DOS version control
- Source code control on an MS-DOS system
To conclude: Mercurial can be made to work locally. TLIB is a proprietary version control system still being sold. Free and open-source RCS 5.7 has been patched to work on DOS, another port can be found here. There is also Prism, and CVS DOS binaries can be found on various FTP servers.