git config --global user.email "you@example.com"
       git config --global user.name "Your Name"

def configure_user(gh_token, repo):
    """git config --global user.email "you@example.com"
       git config --global user.name "Your Name"
    """
    user = user_from_token(gh_token)
    repo.git.config('user.email', user.email or 'aspysdk2@microsoft.com')
    repo.git.config('user.name', user.name or 'SwaggerToSDK Automation')