Git command `init`
Definition
This command creates an empty Git repository - basically a
.gitdirectory with subdirectories forobjects,refs/heads,refs/tags, and template files. An initialHEADfile that references theHEADof the master branch is also created.
Basic usage
Creates a new local repository
$ git init
Creates a new local repository in the specified directory
$ git init <directory>