Add a .gitignore.
Remove the ignored files.