Adjust to changes in libgit2

- git_transfer_progress_callback should return int and zero.