how to set git username for particular folder mac code example Example: change global user name git $ git config --global user.name "Mona Lisa"