Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 351 Bytes

git-clone.md

File metadata and controls

18 lines (13 loc) · 351 Bytes

Git Clone

The git clone command is used to copy an existing Git repository.

Usage

git clone <repository-url>

Explanation

  • Downloads the entire repository, including all files, branches, and commit history.

  • Creates a new directory with the repository name.

Example

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