Git saves your system config in /etc/gitconfig
, user config in ~/.gitconfig
or ~/.config/git/config
and repository config in .git/config
Each config will override the previous one so the repository config will override the other config
Config your username and email:
$ git config --global user.name "fx-moon"
$ git …