window10系统安装git弹出提示

Unable to set system config "diff.astextplain.textconv":="astextplain" exit code 128
stderr:
fatal: could not open '/dev/nullfor reading and writing: No such file on directory
但是也会完成安装进程,但无法使用git,显示未响应

尝试过替换过C:\Windows\System32\drivers;用高版本和低版本git重新安装,都不行
想要成功安装并且使用