What is git ?
git is a distributed revision control system.
Basic setting
terminal
$ git config --global user.name "your name"
$ git config --global user.email "your email address"
$ git config --global http.proxy "your proxy host if needed"
$ git config core.editor "your prefferd editor"
Useful command
terminal
$ git add . --all
# --all option allows to remove cached file which was deleted by rm.
$ git rm --cached <filename>
# Removing from index stage.
$ git reset HEAD <file>...
# Unstaging changes from index stage but not remove it.
$ git rebase -i HEAD~<num or --root>
# Making changes over multiple commits