how to change git account in cmd code example Example: change global user name git $ git config --global user.name "Mona Lisa"