Add git settings.
Cleanup the installation script a bit.