How to edit the global config file in the Git command line

Edit the Git Config File on Command Line
Git config file has the information about the configuration details. User details user name, user email all of them, save only in the config file only.
How to edit the Git config file throw the command prompt command.
Just type the below command to edit the config file.
git config –global --edit

Read How to save edited file
Copyright Labw3