Git Basic Setup

Set user and email for commits and enable colorized output:
git config --global user.name "John Doe"
git config --global user.email john.doe@foo.com
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'