Better apm.yml creating and removing .git folder