Function pointer to receive each submodule
git_submodule currently being visited
name of the submodule
value you passed to the foreach function as payload
0 on success or error code