# How to Clone Github Repository

> To clone a GitHub repository, go to the repository, click the green Code button, copy the HTTPS URL using the copy icon, and then use git clone while navigating to your desired destination directory.

Canonical: https://livedemo.ai/tutorials/how-to-clone-github-repository/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a32ecab56e05a00fd6b02/preview?step=1

## Steps

1. Go to the repository you want to clone.
2. Click on the green 'Code' button.
3. Copy the HTTPS URL by clicking the copy icon.
4. Use the git clone and navigate to the directory where you want to clone the repository.
