Use git init when a project on your computer needs to become a local Git repository. The command creates an empty repository and stores Git’s required files in a hidden .git directory. section 5.2.2
Initialize a to-do list app
Open a terminal, move into the directory containing todo_list.py and task.py, and enter git init. The directory is then ready for the next steps: staging files, committing a snapshot, and connecting the local repository to GitHub. section 5.2.2
git init
View the command used to initialize the local repository. section 5.2.2

