I learned about submodules. A submodule is a record on our project's repo that links to another repository's commit. We can add a submodule to our project with GitHub and then edit our CMakeLists.txt to automate their download process.
The tutorial I watched: