add - method _dulwich_reset_to_tag.

Change-Id: Iac7240e72ce46fa5cbed9b001170b28e0c95ccfc