link
Create an empty Git repository
git init
Initialize new repo in current directory
Create new directory and initialize repo
git init project-name