This page is a quick reference of common Git tasks.
mkdir my-repo
cd my-repo
git init
git add -A
git commit -m "my commit message"
git commit -am "my commit message"
See https://help.github.com/articles/associating-text-editors-with-git to change your default text editor to use with git.
Yes.
git tag v0.X.X # replace X.X with the appropriate version numbers
git push
git push v0.X.X