See Is Git the Same Thing as Github!?
To use the basics of git, you can think of it as a photo booth. It takes a snapshot of your project at a certain point in time, but it will only snapshot the things you have placed in the "staging area" (the booth, in this analogy).
This creates a git repository in the current directory.
git init .
To see the current status of your directory and repository:
$ git status
To track all files in the current directory. You can do this by adding the current directory.
$ git add --all
$ git status
Now that you have files in the staging area, you can save a snapshot of the staging area using a commit.
$ git commit
[master 7b84c79] Fix font in index.html
1 file changed, 12 insertions(+), 2 deletions(-)