Add script to install requried packages.
Check for git global config before config it.

But at begin of this script, the ~/.gitconfig was always
overwirted to default configuration with empty user.name
and user.email. So we need to config these 2 options every
time install.sh executed.