![](/static/img/langs.18f499563f50.png)
git clone
Clone an existing repository.
- Clone an existing repository:
git clone {{remote_repository_location}}
- For cloning from the local machine:
git clone -l
- Do it quietly:
git clone -q
- Clone an existing repository, and truncate to the specified number of revisions, save your time mostly:
git clone --depth 10 {{remote_repository_location}}
![Изображение Выучи 10 хороших привычек для работы в UNIX от IBM](/static/img/promo/10-useful-habits.a185ad7bc985.png)