Apply a git_diff to the given repository, making changes directly in the working directory, the index, or both.
the repository to apply to
the diff to apply
the location to apply (workdir, index or both)
the options for the apply (or null for defaults)
See Implementation
Apply a git_diff to the given repository, making changes directly in the working directory, the index, or both.