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/coderkalyan/potter_android.git -b lineage-16.0
Then to sync up:
repo sync