install git mac book m1

C++
$ brew install git$ git --version$ sudo dnf install git-all
Source

Also in C++: