Skip to content

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.

Copy 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

Terminal Clone

You have now successfully cloned the repository to your local computer.


๐ŸŽฅ Watch on YouTube:

Git Cloning


๐Ÿง  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