@fape 
You could disable `autocrlf` flag to false. In that case, git on windows will not modify the return flag to windows when you pull.