Terminal slow to start first time due to xcodebuild

Switch Apple Git to Git, the problem will go away.
Run brew install git to do it.
Relate link:

Another option is to accept the Xcode License

sudo xcodebuild -license accept

You can find this referring to the reference in the linked article.

Leave a Comment