git config username and email for a folder code example Example: set username git git config --global user.name "My Name"