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 GitHub 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 Repo.

  5. In the Clone a Repository window, enter the URI for the SageMaker examples repo https://github.com/aws/amazon-sagemaker-examples.git or select a repository from the list of Suggested repositories.

  6. Choose Clone.

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

  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.