Added Git check to deploy script.