CentOs Use Centos official installation support
Archlinux
bash <(curl -sL https://git.io/Jm3xB)
bash <(curl -sL https://git.io/JqZDW)
git config --file ~/.gitconfig.local user.name "John Doe"
git config --file ~/.gitconfig.local user.email johndoe@example.com