git clone https://github.com/user/repo.git

Category: Git - Core

git clone https://github.com/user/repo.git

Clone a remote repository to a local directory

Downloads a complete copy of a remote repository to your local machine, including all history.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.