how to check the user name and password in git command line code example
Example: how to get git username and password
$ git config --global user.name "Mona Lisa"
$ git config --global user.name
$ mona
$ git config --global user.name "Mona Lisa"
$ git config --global user.name
$ mona