See your user name and e-mail address:
$ git config user.name
$ git config user.email
Modify their own user name and e-mail address:
git config --global user.name xxx
git config --global user.email [email protected]
Generate ssh keys:
ssh-keygen -t rsa -C "[email protected]"
reference:
【1】 https://www.cnblogs.com/wyhlightstar/p/6283517.html
【2】https://blog.csdn.net/xb12369/article/details/78682018