Clone a Git Repository in SageMaker Studio - Amazon SageMaker

Clone a Git Repository in SageMaker Studio

Amazon SageMaker Studio can connect only to a local repository. In this example, you clone the aws/amazon-sagemaker-examples repository (repo).

To clone the repo

  1. In the left sidebar, choose the File Browser icon ( ).

  2. Choose the root folder or the folder you want to clone the repo into.

  3. In the left sidebar, choose the Git icon ( ).

  4. Choose Clone a Repository.

  5. Enter the URI for the SageMaker examples repo https://github.com/aws/amazon-sagemaker-examples.git.

  6. Choose CLONE.

  7. If the repo requires credentials, you are prompted to enter your username and password.

  8. Wait for the download to finish. After the repo has been cloned, the File Browser opens to display the cloned repo.

  9. Double click the repo to open it.

  10. Choose the Git icon to view the Git user interface which now tracks the examples repo.

  11. To track a different repo, open the repo in the file browser and then choose the Git icon.