To get started with Android/CyanogenMod, you'll need to get familiar with Git and Repo.
To initialize your local repository using the CyanogenMod trees, use a command like this:
repo init -u git://github.com/MTDEV-CM10/android.git -b jellybean
Then to sync up:
repo sync
Please see the CyanogenMod Wiki for building instructions.
For more information on this Github Organization and how it is structured, please read the wiki article
To buid run the following command
. build/envsetup.sh && brunch triumph
To speed up the build you can always use the -jX option X = number of processors and or cores