User

Edit the configuration file at ~/.gitconfig. Add the following content and replace [*] with user information:

[user]
        email = [GITHUB_EMAIL]
        name = [GITHUB_USERNAME]

Gitignore

Edit the configuration file at ~/.gitconfig. Add the path of global gitignore file to excludesfile under core tab:

[core]
        excludesfile = ~/Github/_forked/gitignore/Global/macOS.gitignore