setup git config code example
Example 1: git user.name user.email
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Example 2: git config
$ git config --list --show-origin
Example 3: git configure default editor
# Set Emacs as the default editor
$ git config --global core.editor emacs
# Set Visual Studio Code as the default editor
$ git config --global core.editor code