Julian>The git repo, at a particular commit, has an objective contents That is true for binary blobs. However, text files are converted on checkout as per core.autocrlf and core.eol settings.
Julian>I suspect that when you use ‘git checkout’ with particular options I suspect you are not very well aware of typical recommendations for Git for Windows. Here's what GitHub recommends: https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings#global-settings-for-line-endings "core.autocrlf true" means Git will convert text files to CRLF line endings when "simple" "git clone https://..." is used. Vladimir