link
git/init

Initialize Repository

Create an empty Git repository

git
init
repository

Command

git init

Examples

Initialize new repo in current directory

git init

Create new directory and initialize repo

git init project-name