To get started with Android, you'll need to get familiar with Git and Repo.
To initialize your local repository using theese trees, use a command like this:
repo init -u git://github.com/Unlegacy-Android/android.git -b aosp-8.1
Then to sync up:
repo sync