git-tutorial

init a new repository:

$ git init

watch the result:

$ ls .git/

add-and-commit a file:

$ git add file.txt
$ git commit -m "initial version, of my file"