How to Clone a Repository¶
โ Back to Git
๐ฅ How to Clone a Repository¶
Cloning creates a local copy of a remote repository on your machine.
1. Get the URL¶
Go to your repository on GitHub. Click on Code -> Select HTTPS -> Copy the URL.

2. Run Git Clone¶
Open your terminal and use the git clone command followed by the URL:
git clone https://github.com/vigneshsweekaran/firstproject.git

You have now successfully cloned the repository to your local computer.
๐ฅ Watch on YouTube:¶
๐ง Quick Quiz โ Cloning¶
#
What does git clone do?
๐ Want More Practice?¶
๐ Start Git Intermediate Quiz (20 Questions)
๐ฌ DevopsPilot Weekly โ Learn DevOps, Cloud & Gen AI the simple way.
๐ Subscribe here
