Enable Long Paths in Windows 10, Version 1607, and Later
git config --system core.longpaths true
- Open the Local Group Policy Editor (
gpedit.msc
) - Navigate to: Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem.
- Open "Enable Win32 long paths" and set it to Enabled.