On this page:
git_  fetch_  init_  options
8.12

14 Fetch🔗ℹ

 (require libgit2/include/fetch) package: libgit2

procedure

(git_fetch_init_options opts version)  integer?

  opts : git_fetch_opts?
  version : integer?
Initializes a git_fetch_options with default values. Equivalent to creating an instance with GIT_FETCH_OPTIONS_INIT.