If you work with different users in personal and work projects, it is interesting to set up your username and email at GIT locally, by project, so that your commits are correctly tracked on Github, Gitlab and Bitbucket.

By default the /<users>/.gitconfig file is used to store your global user and email settings...