Repair untracked files, update .gitignore