Adding a gitignore and restoring a file to build