Fixed bug with Git code ending up in the script

Fixed bug with Git code ending up in the script