The latest stable releases can be downloaded from the Downloads page (specifically the Tags tab).
We use Mercurial for source control and code sharing.
The latest development branch can be cloned using the following command:
$ hg clone https://bitbucket.org/circuits/circuits/
For further instructions on how to use Mercurial, please refer to the Mercurial Book.