I\'m trying to learn how to use Git and have created a small project with an HTML, CSS, and Javascript file. I made a branch from my basically empty project and then made so
Though there is an alternative above, but that didn't solve mine.
In my case, I delete the "git" plugin in ./zshrc and reboot the computer then the issue is gone, I guess the zsh plugin had done something conflict the original git command.