Git works well on Mac, but from some point it doesn't work.
user@userui-MacBookAir ~ git init test
warning: unable to access '/Users/user/test/.git/config': Operation not permitted
fatal: unknown error occurred while reading the configuration files
As above, all commands of git including git init do not work.
But the following commands work normally.
which git > /usr/bin/git
git --version > git version 2.39.2 (Apple Git-143)
Any advice on resolving this issue?
I tried belows.