Git Basic Setup

Set user and email for commits and enable colorized output:
git config --global "John Doe"
git config --global
git config --global --add color.ui true
Optionally add couple of helpful Git aliases into your shell profile (~/.bashrc in case of using Bash):
alias ga='git add'
alias gai='git add -i'
alias gc='git commit'
alias gd='git diff'
alias gdc='git diff --cached'
alias gm='git merge --no-ff'
alias gst='git status -s'