Клонирую репозиторий (там есть файл rename_spreadsheets.xlsx), сразу поле клона делаю git status и получаю результат
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: rename_spreadsheets.xlsx
no changes added to commit (use "git add" and/or "git commit -a")
Нагуглил что дело может быть в CRLF и LF, но если закомитить файл с core.autocrlf input то файл не открывается и считается поврежденным, даже если потом включить core.autocrlf true
Если сделать git checkout rename_spreadsheets.xlsx, то ничего не произойдет, файл так и останется "измененным"
Тестировал на Linux и macOS.
.gitattributesи Git перестанет менять окончания строк. Контроль версий для файлов MS Office, Libre Office и других XML-based – Nick Volynkin Oct 06 '17 at 02:16