Automate Installation of Git

Git installation ask if I want to install git. So I have add -y to speed up the installation process.