$ git config --global user.name "Your Name"
$ git config --global user.email Username@example.com
$ cat ~/.gitconfig
[user]
name = Your Name
email = Username@example.com
# 전역 설정을 삭제
$ git config --global --unset user.name
$ git config --global --unset user.email
# 개별 저장소의 설정을 삭제
$ git config --unset user.name
$ git config --unset user.email