Initializing Git Repository
Learn how to initialize a “Git repository” in your project.
To initialize a Git repository, run git init from within the root folder of the source that you want to manage.
1 mkdir lgthw_git_basics
2 cd lgthw_git_basics
3 git init
This locally initializes a database in the folder .git. Your repository is entirely stored within this .git folder. To work with this repository, ...