zsh: killed git on Mac Hi~ I am just using a Mac with M1 chip.
I just found when I tried to run
git clone ...

I got
zsh: killed git 

What should I do?
I have tried to reinstall git via brew.
but it doesn't work.
git version:
git-2.30.1.arm64_big_sur.bottle.tar.gz
Assuming you used the brew reinstall git command instead of brew install git, and assuming you still have Command Line Tools installed, then I would first install gettext and pcre2 as git needs them.
So, first do...
brew reinstall gettext

...followed by:
brew reinstall pcre2

and then by...
brew reinstall git

If that doesn't work you could try all the commands again but with install instead of reinstall.
And if that doesn't work, what's the result of brew config?