Implements the pull protocol for js-git