How to clone a GitHub repository to a local computer or PC

  • 3 years ago
To clone a GitHub repository to a local computer or PC. Follow these steps.
................................................................................................................................
1. First install the latest version of git from https://git-scm.com/​
2. Create an account on GitHub (Leave this step if already has an account).
3. If there is no repository on GitHub then first push the local repository on a GitHub. For this step watch this video.
https://www.dailymotion.com/video/x810p3i
4. Now open the repository on GitHub and click on repositories.
5. Click on the desired depository and then click on Code.
6. Copy the HTTPS repository URL.
7. Now open Git Bash on the desktop of a local computer or PC.
8. Type git clone and then paste the above repository HTTPS URL.
9. Press enter and after some time the GitHub repository will clone on a local computer or a PC.
!!That's all!!
Subscribe the Channel!!
Follow me on GitHub: https://github.com/engrhafiztahir​

Recommended