In the following yay
, choco
,
and brew
are package
managers in their respective operating systems.
yay -S git
choco install git -y
On Windows part of the installation is a
terminal program git-bash
for your convenience. It works with a
Unix like interface. You may use that or
the regular terminal program.
brew install git
git config --global user.name "foo"
git config --global user.email "foo@foo.bar"
git config --global init.defaultBranch main
git config --list