解决办法: 可以使用以下命令来修复:
git config --system core.longpaths true
也可以仅设置当前项目:
git config core.longpaths true
查看设置状态:
git config core.longpaths