git config username and passwoord code example Example: how to set up git user $ git config --global user.name "Mona Lisa"