How to set the Git user.name Property in Git Config

Quick guide to set Git user.name with git config for global and local repos and verify commit author