How to reproduce:
1. Open Unity Hub
2. Create a new Unity project and set the Source control provider to GitHub or GitLab
3. Navigate to the folder where the project was created
4. Open the .gitignore file
5. Search for this line: `*.slnx` in the file using Cmd + F (macOS) or Ctrl + F (Windows)
6. Observe the result
Actual result: *.slnx will not be found because Unity Hub uses an older version of the Unity.gitignore file
Expected result: *.slnx is found
Reproducible with: 3.19.1
Reproducible on: macOS (M4) (26.5.1)
Not reproducible on: No other environments tested
Notes:
- The .gitignore file is hidden by default on macOS
- To show hidden files on macOS, focus the Finder window and press this keyboard shortcut: Cmd + Shift + .