On the SourceForge site, click on the "Browse" button:
Through the page that now appears you can access the code:
On the left side, an overview of existing branches is shown; select "default" to have the main development line.
Use the Download button to obtain a zip file with a snapshot of the entire code in the selected branch.
To get a copy of the code under the Mercurial version control system, with access to all branches, select the clone command and execute this in a terminal (or use a Mercurial gui). See [Source code under Mercurial] for how to clone a specific branch or revision.