Thanks to visit codestin.com Credit goes to libgit2.org
Create the new pack and pass each object to the callback
the packbuilder
the callback to call with each packed object's buffer
the callback's data
0 or an error code