see the username and password in git 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