initialize git user code example Example 1: list config git git config --list Example 2: how to set up git user $ git config --global user.name "Mona Lisa"