check git settings terminal code example
Example: check git settings terminal
-- set the default branch to main
git config --global init.defaultBranch main
-- check the git settings on terminal
$ git config --list
user.name=John Doe
user.email=[email protected]
color.status=auto
color.branch=auto
color.interactive=auto
color.diff=auto