Need to create a new Git repository? Then you'll need to learn how to use the git init command, because that's the only way to create a new Git repo. A Git repository is the heart and soul of Git.
What Does git init Do? git init is one way to start a new project with Git. To start a repository, use either git init or git clone – not both. To initialize a repository, Git creates a hidden ...