Command
Explanation
git init is used to create a new Git repository. It creates a new repository in the current directory.
Examples
Initialize new repo in current directory
Create new directory and initialize repo
git init is used to create a new Git repository. It creates a new repository in the current directory.
Initialize new repo in current directory
Create new directory and initialize repo