This function exists mostly to guard examples that rely on having a user
configured, in order to make commits. user_is_configured() makes no
distinction between local or global user config.
Arguments
- repo
- An optional - repo, in the sense of- git_open().
