To get started with Android/LineageOS/GlassROM, you'll need to get familiar with Repo and Version Control with Git.
To initialize your local repository using the LineageOS/GlassROM trees, use a command like this:
repo init -u git://github.com/GlassROM/android.git -b lineage-16.0
Then to sync up:
repo sync --force-sync -d -c --no-tags --no-clone-bundle
Please see the LineageOS Wiki for building instructions, by device.
Patches are always welcome! Please submit your patches via pull requests!