def remote_head(self, upstream, branch):
        ref = "%s/%s" % (upstream, branch)
        remote = self._repo.lookup_branch(ref, GIT_BRANCH_REMOTE)
        return remote.get_object()
dataset/ETHPy150Open PressLabs/gitfs/gitfs/repository.py/Repository.remote_head/original