Git
From MoodleDocs
Git is a free and open source version control system.
Git is a more sophisticated replacement for CVS. You can find the official Git mirror of the Moodle CVS repository at http://git.moodle.org/.
The particular advantage of Git is its distributed model, making it ideal for managing local customisations to Moodle. has links to documentation about using Git.