Excludes `.locale/` and `.history/` directories to prevent local environment and history files from being tracked in version control.