GitHub - SPLessons

Git Clone Repository

Home > Lesson > Chapter 6
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Git Clone Repository

Git Clone Repository

shape Introduction

Git Clone Repository is useful when developer create a repository on GitHub that going to be exist as a remote repository. Developers can clone their own repository in order to create a local copy in their PC’s and can sync the two locations. Following are the concepts covered in this chapter.
  • Clone in desktop button.

Clone in desktop button

shape Description

Last but not the least, the “clone in desktop button”. Where cloning is a process of getting the local repository. So remember, in a distributed version control system, one has their own local repository and the server at Github also has a repository. The reason why it is called cloning was because of just getting a copy of the one that using, and going to work with that one locally. Just by clicking the option clone button which is provided at the top left to the window and a conformation window opens saying whether to launch the application. By conforming the launch application, automatically cloned that repository and gives the assistance of it. here the details of user account logged in with and everything was setup and working. The below images show the process of using clone in desktop button. By clicking the clone in desktop button it open a window as shown in the below image. By clicking the launch application a local copy of this repository is obtained as show in below image. Simply by clicking a button on the website and immediately we obtain a local copy of that repository. And this is one of the most convenient features in GitHub.

Summary

shape Key Points

  • One can clone their own repository in order to create local copy in PC.
  • In a distributed version control system, one has their own local repository and the server at Github also has a repository.