Add echo to script and remove the duplicate installation of git