- Newest
- Most votes
- Most comments
The behavior you're seeing is standard for the Jupyter Git extension: it hides the "Clone" option as soon as you are inside an existing repository directory.
However, if you still can't find the option after navigating to the root folder, or if the Git extension is missing in specific labs, the most reliable way in AWS Skill-Builder environments is using the Terminal:
- In Jupyter, go to File > New > Terminal.
- Type
git clone <your-repository-url>and hit Enter. - The cloned folder will appear in your File Browser on the left immediately.
This bypasses any UI inconsistencies between different lab setups!
Based on the message you're seeing, it appears that you're not currently in a Git repository directory. To access the Git clone option in your Jupyter notebook environment, you need to follow these steps:
- Click on the Git tab (Git icon) in the left sidebar of your Jupyter interface
- Make sure you're in the correct directory - you should be in your user/home directory, not inside an existing Git repository
- If you're currently inside a Git repository, navigate back to your home directory by:
- Clicking on the Folder tab in the left sidebar
- Clicking the folder icon beneath the file search bar (this should take you to your user directory)
- Then return to the Git tab
- Once you're in the correct location, you should see the Clone a Repository option
The message you're receiving indicates that your current working directory is not a Git repository, which is why you're not seeing the clone option. The Git clone functionality only appears when you're in a non-Git directory. If you're already inside a Git repository, the system assumes you want to work with that repository rather than clone a new one.
Try navigating to your home/user directory first, then access the Git tab to find the clone repository option.
Sources
Use Amazon SageMaker Studio Lab starter assets - Amazon SageMaker AI
Relevant content
- asked 3 months ago
- asked 3 years ago
- asked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago

Thanks @FlorianTurnwald