The revision control / source code management (SCM) used to manage the PostgreSQL source code.

The PostgreSQL source code is managed using GIT, which was originally developed by Linus Torvalds for the Linux kernel source. Many associated PostgreSQL projects now also use GIT.

Originally, PostgreSQL used CVS for source control, and migrated to GIT in 2010 [1].

The PostgreSQL GIT repository can be cloned with:

git clone git://

No password or authentication is necessary. On a fast connection with an average download rate of around 6MiB/s, it took about 60 seconds to clone the entire repository.

A cloned repository can be updated to the latest version using:

git fetch


[1] "Lessons from PostgreSQL's Git transition" -


PostgreSQL internals