Question : config git via terminal
Answered by : laya-godfrey-cleement
#view all settings
$ git config --list --show-origin
#set global configurations for your git
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
git config --global init.defaultBranch main
Source : https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup | Last Update : Sun, 02 Oct 22