In order to do development you need a local copy of the source code. All code is kept in git. Cloning the source code is explained in the building instruction articles for each operating system.