Setting your username in Git
Setting your Git username for every repository on your computer¶
- Open the Terminal
2 Set a Git Username git config --global user.name "insert name"
- Confirm that you have set the Git username correctly:
git config --global user.name
It should reply with the name you entered.
>insert name