The fetchspec the remote should use.
Additional flags for the remote. See git_remote_create_flags.
The remote's name. Setting this to NULL results in an in-memory/anonymous remote.
The repository that should own the remote. Setting this to NULL results in a detached remote.
Remote creation options structure
Initialize with GIT_REMOTE_CREATE_OPTIONS_INIT. Alternatively, you can use git_remote_create_options_init.