how to get git username and password

Shell
$ git config --global user.name "Mona Lisa"
$ git config --global user.name
$ mona
Source

Also in Shell: