set git pull rebase default

Shell
## command
git pull --rebase

## configs
# git version >= 1.7.9
git config --global pull.rebase true
# git version < 1.7.9
git config --global branch.autosetuprebase always
Source

Also in Shell: