Fix .gitignore and commit missing files.