To get started with Android/LineageOS, you'll need to get familiar with Source Control Tools.
To initialize your local repository using the LineageOS trees, use a command like this:
repo init -u https://github.com/2spirit/android.git -b lineage-20.0 --git-lfs
Then to sync up:
repo sync
Please see the LineageOS Wiki for building instructions, by device.