Clone Android source 9

I lead the team development of a custom ROM.

We would like to use GitHub repositories and rely on AOSP Android 9.

How can I clone the source in my GitHub repository or freeze it?