set git useremail and username code example Example: set username git git config --global user.name "My Name"