Git · Setup and configuration

git clone

Copies a remote repository, including its history, and configures origin.

Syntax
git clone <url>

Example

Example
git clone https://github.com/example/project.git
cd project

More in this group

.gitignore git config git help git init git remote

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course