First of all you have to initialize the repository with git init
. You can run this command on an empty directory or not.
Once you have initialized the repo, there is a workflow in git that you should do every time you make changes like add/delete/update files.
git status
git add -A
git commit -m "a little description"