create .gitignore file and a working directory for cmake.