For cross-platform projects, the recommended setting of Git on Windows is "Checkout Windows-style, commit Unix-style line endings". This means that Git will convert LF to CRLF when checking out text files from a remote repository to your local repository. When committing text files, CRLF will be converted to LF.
However, as freezing files in Quarto is done before the commit, the hashes of the freezed files in the _freeze
folder in on Windows are based on the files with CRLF line endings and based on the files with LF line endings on Unix. The consequence is different hashes although the source files are identical. This bug is therefore called: same source different hashes in _freeze/ files from different OS machines #3599.
In my workflow I use RStudio as an IDE on Windows. Therefore, I suffered from this bug too, as I describe in the issue [GitHub Actions fails b/o missing rmarkdown package #5870](https://github