Sort and dedupe .gitignore files (#24491)

Release Notes:

- N/A
146b9c232cMichael Sloan committed on 2/8/2025, 2:17:17 AM· committed by GitHubparentbe26acc
2 files changedLine totals unavailable