This answer from another question seemed like the best one to me. https://stackoverflow.com/a/70090792/675784
Run git config --global core.protectNTFS false
Then clone
Or if it's already cloned but not checked out, you may set this setting local to this repository only
Run git config core.protectNTFS false Then Run git checkout <branch_name>