Getting The Source
If you are interested in Developing or just view the sourcecode of the OSM server and editors, you can find it in our git repositories.
Git
Our core software projects manage source code on GitHub: https://github.com/openstreetmap/
The rails code (for the website and API) can be downloaded with the following command:
git clone https://github.com/openstreetmap/openstreetmap-website.git
This is described in more detail at the repository on GitHub. There are many other git repos relating to OpenStreetMap. In particular, iD code is managed in git. In theory git repos are decentralised and can live anywhere. You'll find links amongst the developer information related to various software/tools on this wiki. In practice you'll also find many of them on https://github.com
Subversion
The Subversion repository is at https://svn.openstreetmap.org/ is deprecated and contains source code for some historical tools and scripts. It was switched to read-only in August 2020. Many users had Subversion accounts.