Change Git Global Config to the Correct Info

This sets your default Git identity for all new commits from now on:

1git config --global user.name "your username"
2git config --global user.email "your.email@example.com"

You can double-check it worked with:

1git config --global --list

Set Git Default Editor

Run one of the following commands in your terminal, replacing editor-command with your preferred editor:

  1. For Vim (default in many systems):
1git config --global core.editor "vim"
  1. For VS Code
1git config --global core.editor "code --wait"

Verify Settings

Check your configured editor with:

1git config --global core.editor

Remove the Setting (If Needed)

1git config --global --unset core.editor