Use separate .gitignore for externals.
Remove duplicates.