How to clone a repository from github

AuthorHariom Prajapati

Pubish Date07 Aug 2022

categoryGit

In this tutorial we will learn how to clone (Download) a repository from github.

Let's start how to clone a repository from github step by step.

 

Step 1 - Go to https://github.com/

Git Hub

 

Step 2 - Select your repository

Git Hub

 

Step 3 - Copy HTTPS url

git hub

Step 4 - Go to folder in which you want to clone(download) project and open command line.

git

Note: Here we use git bass command line but you can also use your default system command line.

 

Step 5 - Now type bellow command line.

git clone 'HTTPS code here'

git hub

Note- If your project in any type of frame works and its does not run then close the command line and open again in your cloned project folder and run below code and wait until its finished.

update composer
Comments 0

Leave a comment