Added commit option, when set to false, to skip committing files after git init && add.