Git is a free and open source distributed version control system.
bash <(curl -fsSL raw.githubusercontent.com/monsieurborges/mac-setup/master/install) git
if [[ "$(/usr/bin/uname -m)" == "arm64" ]]; then
HOMEBREW_PREFIX="/opt/homebrew"
else
HOMEBREW_PREFIX="/usr/local"
fi
eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)"
brew install git
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global color.ui true
git config --global color.status.changed "blue normal"
git config --global color.status.untracked "red normal"
git config --global color.status.added "magenta normal"
git config --global color.status.updated "green normal"
git config --global color.status.branch "yellow normal bold"
git config --global color.status.header "white normal bold"
Check your name and e-mail:
git config --global --list