GetRefFavorite.
        [Preview API] Gets the refs favorite for a favorite Id.
        :param str project: Project ID or project name
        :param int favorite_id: The Id of the requested ref favorite.
        :rtype: :class:`<GitRefFavorite> <azure.devops.v5_1.git.models.GitRefFavorite>`

def get_ref_favorite(self, project, favorite_id):
        """GetRefFavorite.
        [Preview API] Gets the refs favorite for a favorite Id.
        :param str project: Project ID or project name
        :param int favorite_id: The Id of the requested ref favorite.
        :rtype: :class:`<GitRefFavorite> <azure.devops.v5_1.git.models.GitRefFavorite>`
        """
        route_values = {}
        if project is not None:
            route_values['project'] = self._serialize.url('project', project, 'str')
        if favorite_id is not None:
            route_values['favoriteId'] = self._serialize.url('favorite_id', favorite_id, 'int')
        response = self._send(http_method='GET',
                              location_id='876f70af-5792-485a-a1c7-d0a7b2f42bbb',
                              version='5.1-preview.1',
                              route_values=route_values)
        return self._deserialize('GitRefFavorite', response)