Unity Cloud Build can connect to Git and Git Large File Storage (LFS) repositories hosted on GitHub (github.com). When connecting to GitHub, Unity Cloud Build automatically detects whether your repository is public or private.
Unity Cloud Build can automatically connect to public repositories on GitHub. Paste in the repository’s URL when setting up a project in Cloud Build.
If your GitHub repository is private, find the SSH key provided by Unity during the project’s setup for Cloud Build, and follow the instructions below to add it to your GitHub account.
Log in to your GitHub account
Click on Account Settings (the button depicting a screwdriver and spanner)
Choose SSH Keys from the menu
Click Add SSH Key and give it a name (such as Unity Cloud Build)
Paste the Unity Cloud Build SSH key into the GitHub Key field
Click Add Key