Rewrite .gitignore for confidential files