The main purpose of wflow_git_config is to set the user.name and
user.email to use with Git commits. Note that these do not need to match the
name and email you used to register your online account with a Git hosting
service (e.g. GitHub or GitLab). However, it can also handle arbitrary Git
settings (see examples below).
There are two main limitations of wflow_git_config for the sake of
simplicity. First, wflow_git_config only affects the global Git
settings that apply to all Git repositories on the local machine and is
unable to configure settings for one specific Git repository. Second,
wflow_git_config can only add or change the user.name and user.email
settings, but not delete them. To perform either of these actions, please use
git config in the Terminal.
Under the hood, wflow_git_config is a wrapper for
config from the package git2r.
To learn more about how to configure Git, see the Software Carpentry lesson
Setting Up Git.