error: could not spawn fsmonitor--daemon in the background

git init初始化本地仓库后,使用git status命令或者git add,git commit命令都会报错
$ git status
error: could not spawn fsmonitor--daemon in the background
On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        test2.txt


img

并没有在社区找到相关的问题解决思路
想知道这个错误的原因