A module that uses gitpython (https://github.com/gitpython-developers/GitPython) It copies a .gitignore file, does git init, git add ., git commit -am "initial commit"