Git Init
The git init command creates a new repository, either from scratch or by converting an existing unversioned project.
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.
git init [<directory>]
<directory>: The name of the directory to create. If not specified, the current directory is used.--bare: Create a bare repository. A bare repository is a repository that does not have a working directory. It is used for sharing and collaboration, as it does not contain any files or directories.
Free Resources
official: