[Moto Maxx Android Development] fgl27:
the result must be this

fgl@fgl:~$ cd android/
fgl@fgl:~/android$ mkdir source_oreo
fgl@fgl:~/android$
fgl@fgl:~/android$ cd source_oreo
fgl@fgl:~/android/source_oreo$
fgl@fgl:~/android/source_oreo$ repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
Get git://github.com/LineageOS/android.git
remote: Enumerating objects: 5110, done.
remote: Total 5110 (delta 0), reused 0 (delta 0), pack-reused 5110
Receiving objects: 100% (5110/5110), 1.33 MiB | 2.90 MiB/s, done.
Resolving deltas: 100% (2380/2380), done.
From git://github.com/LineageOS/android
* [new branch] backups/20181204-0512/lineage-16.0 -> origin/backups/20181204-0512/lineage-16.0
* [new branch] backups/test/lineage-16.0 -> origin/backups/test/lineage-16.0
* [new branch] cm-10.1 -> origin/cm-10.1
* [new branch] cm-10.2 -> origin/cm-10.2
* [new branch] cm-11.0 -> origin/cm-11.0
* [new branch] cm-12.0 -> origin/cm-12.0
* [new branch] cm-12.1 -> origin/cm-12.1
* [new branch] cm-13.0 -> origin/cm-13.0
* [new branch] cm-14.0 -> origin/cm-14.0
* [new branch] cm-14.1 -> origin/cm-14.1
* [new branch] cm-7.0.0 -> origin/cm-7.0.0
* [new branch] cm-7.0.1 -> origin/cm-7.0.1
* [new branch] cm-7.0.2.1 -> origin/cm-7.0.2.1
* [new branch] cm-7.0.3 -> origin/cm-7.0.3
* [new branch] cm-9.1.0 -> origin/cm-9.1.0
* [new branch] eclair -> origin/eclair
* [new branch] froyo -> origin/froyo
* [new branch] froyo-stable -> origin/froyo-stable
* [new branch] gb-release-7.2 -> origin/gb-release-7.2
* [new branch] gingerbread -> origin/gingerbread
* [new branch] gingerbread-release -> origin/gingerbread-release
* [new branch] ics -> origin/ics
* [new branch] ics-release -> origin/ics-release
* [new branch] jellybean -> origin/jellybean
* [new branch] jellybean-stable -> origin/jellybean-stable
* [new branch] lineage-15.0 -> origin/lineage-15.0
* [new branch] lineage-15.1 -> origin/lineage-15.1
* [new branch] lineage-16.0 -> origin/lineage-16.0
* [new branch] mr1.1-staging -> origin/mr1.1-staging
* [new branch] shipping/cm-11.0 -> origin/shipping/cm-11.0
* [new branch] stable/cm-10.2 -> origin/stable/cm-10.2
* [new branch] stable/cm-11.0 -> origin/stable/cm-11.0
* [new branch] stable/cm-11.0-XNF8Y -> origin/stable/cm-11.0-XNF8Y
* [new branch] stable/cm-11.0-XNF9X -> origin/stable/cm-11.0-XNF9X
* [new branch] stable/cm-11.0-XNG2S -> origin/stable/cm-11.0-XNG2S
* [new branch] stable/cm-11.0-XNG3C -> origin/stable/cm-11.0-XNG3C
* [new branch] stable/cm-12.0-YNG1I -> origin/stable/cm-12.0-YNG1I
* [new branch] stable/cm-12.0-YNG1T -> origin/stable/cm-12.0-YNG1T
* [new branch] stable/cm-12.0-YNG1TA -> origin/stable/cm-12.0-YNG1TA
* [new branch] stable/cm-12.0-YNG3C -> origin/stable/cm-12.0-YNG3C
* [new branch] stable/cm-12.0-YNG4N -> origin/stable/cm-12.0-YNG4N
* [new branch] stable/cm-12.1-YOG3C -> origin/stable/cm-12.1-YOG3C
* [new branch] stable/cm-12.1-YOG4P -> origin/stable/cm-12.1-YOG4P
* [new branch] stable/cm-12.1-YOG7D -> origin/stable/cm-12.1-YOG7D
* [new branch] stable/cm-13.0-ZNH0E -> origin/stable/cm-13.0-ZNH0E
* [new branch] stable/cm-13.0-ZNH2K -> origin/stable/cm-13.0-ZNH2K
* [new branch] stable/cm-13.0-ZNH2KB -> origin/stable/cm-13.0-ZNH2KB
* [new branch] stable/cm-13.0-ZNH5Y -> origin/stable/cm-13.0-ZNH5Y
* [new branch] staging/cm-12.0-caf -> origin/staging/cm-12.0-caf
* [new branch] staging/cm-12.1 -> origin/staging/cm-12.1
* [new branch] staging/cm-13.0+r22 -> origin/staging/cm-13.0+r22
* [new branch] staging/lineage-15.1 -> origin/staging/lineage-15.1
* [new branch] themes-exp -> origin/themes-exp
* [new branch] translations/cm-14.1 -> origin/translations/cm-14.1
* [new tag] cm-10.1-M1 -> cm-10.1-M1
* [new tag] cm-10.1-M2 -> cm-10.1-M2
* [new tag] cm-10.1-M3 -> cm-10.1-M3
* [new tag] cm-10.1.0 -> cm-10.1.0
* [new tag] cm-10.1.0-RC1 -> cm-10.1.0-RC1
* [new tag] cm-10.1.0-RC2 -> cm-10.1.0-RC2
* [new tag] cm-10.1.0-RC3 -> cm-10.1.0-RC3
* [new tag] cm-10.1.0-RC4 -> cm-10.1.0-RC4
* [new tag] cm-10.1.0-RC5 -> cm-10.1.0-RC5
* [new tag] cm-10.1.1 -> cm-10.1.1
* [new tag] cm-10.1.2 -> cm-10.1.2
* [new tag] cm-10.1.3 -> cm-10.1.3
* [new tag] cm-10.1.3-RC1 -> cm-10.1.3-RC1
* [new tag] cm-10.1.3-RC2 -> cm-10.1.3-RC2
* [new tag] cm-10.2-M1 -> cm-10.2-M1
* [new tag] cm-10.2.0 -> cm-10.2.0
* [new tag] cm-10.2.1 -> cm-10.2.1
* [new tag] cm-10.2.1.1 -> cm-10.2.1.1
* [new tag] cm-11.0-XNPH05Q-bacon-5229c4ef56 -> cm-11.0-XNPH05Q-bacon-5229c4ef56
* [new tag] cm-11.0-XNPH05Q-tomato-9828f8e9cc -> cm-11.0-XNPH05Q-tomato-9828f8e9cc
* [new tag] cm-11.0-XNPH22R-bacon-03d77315ea -> cm-11.0-XNPH22R-bacon-03d77315ea
* [new tag] cm-11.0-XNPH25R-bacon-d22b777afa -> cm-11.0-XNPH25R-bacon-d22b777afa
* [new tag] cm-11.0-XNPH30O-bacon-4f280f505a -> cm-11.0-XNPH30O-bacon-4f280f505a
* [new tag] cm-11.0-XNPH33R-bacon-3628510d76 -> cm-11.0-XNPH33R-bacon-3628510d76
* [new tag] cm-11.0-XNPH44S-bacon-5fa8c79c0b -> cm-11.0-XNPH44S-bacon-5fa8c79c0b
* [new tag] cm-5.0.6 -> cm-5.0.6
* [new tag] cm-5.0.7 -> cm-5.0.7
* [new tag] cm-5.0.7-ds -> cm-5.0.7-ds
* [new tag] cm-6.0.0 -> cm-6.0.0
* [new tag] cm-6.0.0-rc1 -> cm-6.0.0-rc1
* [new tag] cm-7.0.0 -> cm-7.0.0
* [new tag] cm-7.0.1 -> cm-7.0.1
* [new tag] cm-7.0.2.1 -> cm-7.0.2.1
* [new tag] cm-7.0.3 -> cm-7.0.3
* [new tag] cm-7.1.0 -> cm-7.1.0

Your identity is: Felipe Leon <fglfgl27@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

Testing colorized output (for 'repo diff', 'repo status'):
black red green yellow blue magenta cyan white
bold dim ul reverse
Enable color display in this user account (y/N)?

repo has been initialized in /home/fgl/android/source_oreo
fgl@fgl:~/android/source_oreo$ cd .repo
fgl@fgl:~/android/source_oreo/.repo$
fgl@fgl:~/android/source_oreo/.repo$ mkdir local_manifests
fgl@fgl:~/android/source_oreo/.repo$
fgl@fgl:~/android/source_oreo/.repo$ cd local_manifests
fgl@fgl:~/android/source_oreo/.repo/local_manifests$ echo '<?xml version="1.0" encoding="UTF-8"?>
> <manifest>
>
> <!-- Strings for LineageActions app-->
> <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-15.1" />
>
> <!-- Device/kernel/vendor-->
> <project name="fgl27/device_motorola_quark" path="device/motorola/quark" remote="github" revision="O" />
> <project name="fgl27/BHB27Kernel" path="kernel/motorola/apq8084" remote="github" revision="O" />
> <project name="fgl27/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="O" />
>
> </manifest>' > roomservice.xml
fgl@fgl:~/android/source_oreo/.repo/local_manifests$ cat roomservice.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Strings for LineageActions app-->
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-15.1" />

<!-- Device/kernel/vendor-->
<project name="fgl27/device_motorola_quark" path="device/motorola/quark" remote="github" revision="O" />
<project name="fgl27/BHB27Kernel" path="kernel/motorola/apq8084" remote="github" revision="O" />
<project name="fgl27/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="O" />

</manifest>
fgl@fgl:~/android/source_oreo/.repo/local_manifests$ cd ../../
fgl@fgl:~/android/source_oreo$ repo sync device/motorola/quark
Fetching project fgl27/device_motorola_quark
remote: Enumerating objects: 279, done.
remote: Counting objects: 100% (279/279), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 8526 (delta 223), reused 217 (delta 201), pack-reused 8247
Receiving objects: 100% (8526/8526), 3.47 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (4503/4503), done.
From git://github.com/fgl27/device_motorola_quark
* [new branch] O -> github/O
Fetching projects: 100% (1/1), done.

fgl@fgl:~/android/source_oreo$ cd device/motorola/quark/
fgl@fgl:~/android/source_oreo/device/motorola/quark$ dir
Android.mk	bluetooth	device.mk init	lineage.mk	overlay	proprietary-files.txt	system.prop
BoardConfig.mk	camera	fs_config keylayout	lineageactions	overlay-lineage rootdir	treble.mk
README.md	compatibility_matrix.xml hacks liblight	manifest.xml	overlay-rr	rr.mk	voice_processing
audio	configs	idc	libshims	media	permissions	sepolicy	wlan
fgl@fgl:~/android/source_oreo/device/motorola/quark$ ls -l BoardConfig.mk
-rw-rw-r-- 1 fgl fgl 5934 Dec 10 11:37 BoardConfig.mk

wheres "cat roomservice.xml" checks if the files was created OK with content and

fgl@fgl:~/android/source_oreo$ repo sync device/motorola/quark
Fetching project fgl27/device_motorola_quark
remote: Enumerating objects: 279, done.
remote: Counting objects: 100% (279/279), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 8526 (delta 223), reused 217 (delta 201), pack-reused 8247
Receiving objects: 100% (8526/8526), 3.47 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (4503/4503), done.
From git://github.com/fgl27/device_motorola_quark
* [new branch] O -> github/O
Fetching projects: 100% (1/1), done.

show the device be pulled

"dir" and "ls -l BoardConfig.mk " check if the device was really downloaded, but if the cmd "repo sync device/motorola/quark" showed some result this can be spiked or you can just check visually going to the folder