Git 2 · Getting started

Clone a repository

Download a repository and its full history.

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

Official Git 2 documentation

More getting started commands

All getting started commands · Git 2 cheatsheet

Was this page helpful?