This removes temporary files and updates .gitignore to ignore them in the future.
This sets up so that temp files are ignored, and removes the existing one.