how to set user.name in git code example Example: set username git git config --global user.name "My Name"