Flag checkout_opts in git_reset as optional The check_outs argument can be NULL and should be flagged accordingly in the header file.