# git init The `git init` command creates a new Git repository. It can be used to convert an existing, unversioned project to a Git repository or initialize a new, empty repository. Most other Git commands are not available outside of an initialized repository, so this is usually the first command you'll run in a new project. Visit the following resources to learn more: - [@course@Creating Repository (Interactive Lesson)](https://inter-git.com/lessons/creating-repository) - [@official@Git - git-init Documentation](https://git-scm.com/docs/git-init) - [@article@git init | Atlassian Git Tutorial](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init#:~:text=The%20git%20init%20command%20creates,run%20in%20a%20new%20project.)