To get started with Android/LineageOS, you'll need to get familiar with Repo and Version Control with Git.
To initialize your local repository using the LineageOS trees, use a command like this:
repo init -u git://github.com/lge-z-dev/LineageOS-android.git -b treble
Then to sync up:
repo sync