Hi achaikou,
This is probably caused by git trying to do the right thing with line-ending when you checkout code:
https://git-scm.com/docs/gitattributes#_text
In one of our jobs (specifically the one that we use for testing our internal build agent on Windows) we do the following before checkout:
- run: git config --global core.autocrlf false
- checkout
Can you try that and see if it fixes the issues?
Marc