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