(i) Open github.com and search for any project
(Here I am searching for my own project : explore-world-bootstrap-website)
2. Here we can see the search result, clicking on the first result
3. It opens the repository , now we can see the files in it.
4. Click on the green colour Code button, then we can see the Clone popup contains HTTPS link, copy it
5. Now Open Git bash , follow the below steps
1 | Open a directory | cd desktop |
2 | Clone the repository | git clone <repository-https-url>git clone https://github.com/sagarfive/explore-world-bootstrap-website.git |
3 | Move into cloned directory | cd <project directory name> (we can get that by running ls command)cd explore-world-bootstrap-website |
4 | List the files | ls |
5 | Check commits | git log –oneline |
6. Now we can see the remote repository downloaded to local machine, we got commits to, we can can work on this project, we can add the changes to remote repository