Setting your username in Git

Setting your Git username for every repository on your computer

  1. Open the Terminal

2 Set a Git Username git config --global user.name "insert name"

  1. Confirm that you have set the Git username correctly:

git config --global user.name

It should reply with the name you entered.

>insert name