change username in git in git site code example Example: change global user name git $ git config --global user.name "Mona Lisa"