Init & Clone

Create new repos or clone existing ones

Every Git project starts with either creating a new repo or cloning an existing one.

Creates a new empty Git repository in the current directory. A hidden .git folder stores all version history.

File Explorer
my-project/
Terminal
$ mkdir my-project
$ cd my-project
$ git init
Initialized empty Git repository in /my-project/.git/