Install Git
# Ubuntu
sudo apt-get install git
# OSX http://mac.github.com/
Create a Git repository in the current directory
# Open a terminal, `cd` to the project directory and then
git init
Add everything to a first commit (protip: ignoring files)
git add .
git commit -m 'type your awesome commit message here'
Hack hack hack
Add everything to a next commit (remember the protip: ignoring files)
git add .
git commit -m 'type your awesome commit message here'
There you are, and remember: "Commit early, commit often!"