What does cloning a GitHub repository mean?

Cloning a git repository means that you create a local copy of the code provided by developer. You can simply do it with a command line:

git clone git://github.com/facebook/facebook-ios-sdk.git .

and you'll have the code in the facebook-ios-sdk directory.


Cloning a git repository is basically downloading a code base to your own machine, so you can use, edit... this code base.

For doing it is as easy as creating a folder where you want to store this code, and then from the terminal execute from this folder:

git clone git://github.com/facebook/facebook-ios-sdk.git .

Cloning a repository means that you're downloading a copy of the source code from source control. To use the iOS SDK you have to download the code from GitHub (ie- clone the iOS SDK repository).

Type

git clone git://github.com/facebook/facebook-ios-sdk.git [path to where you want to save sdk]

from a shell / command prompt.


To clone a repository means to duplicate and download everything in the repository.

You are on a Mac, so launch Terminal, create a folder and type this command:

git clone git://github.com/facebook/facebook-ios-sdk.git

It will duplicate and download the entire repository.