Quick answer: Godot 4 .uid files showing modifications after another team member's commit on a different OS? Line ending differences; configure .gitattributes for binary handling.
Linux dev's .uid commits show as 'modified' on Windows after pull.
Set .gitattributes
*.uid -textTreats .uid as binary; line endings preserved.
Or normalize line endings
Use LF everywhere via core.autocrlf=input. Whole repo benefits.
Run git renormalize
After .gitattributes update: git add --renormalize .. One-time pass.
“Cross-OS git needs line ending discipline. .uid is sensitive.”
Lock down .gitattributes in your project root. The drift is silent until a merge surfaces it.