This is super basic, but it helps to have a quick reference for starting a new git project on your local machine. Note that you don’t have to add the whole folder in line 3. You can instead add individual files.
$ cd base_project_folder
$ git init
$ git commit -m 'Initial commit'
Also, remember to commit your .gitignore file if you choose to have one. It needs to be a part of the repository.