add --no-git option to script