Download and install Git, a popular and helpful tool to track and save the evolving versions of your web development projects. With it installed you will execute some commands in the terminal. Git is an essential tool in server deployment as well.


git init

creates a new git repository


git add .

Stages all files and folders in the current directory.


git commit -am "some helpful message"

Commits those stages so that you can review them later.


Take a look at how to write a .ignore file so that Git can avoid tracking some files.

Homework

Take a look at the getting started tutorials in Git.