Set the update rule for the submodule.
This sets the update rule in memory for the submodule. You should call
git_submodule_save()
if you want to persist the new update rule.
Calling this again with GIT_SUBMODULE_UPDATE_DEFAULT or calling
git_submodule_reload()
will revert the rule to the value that was in the
original config.
old value for update