private String decodeRefName(final String refName){
  return refName.substring(2);
}

private String decodeRefName ( final String refName ) { return refName . substring ( 2 ) ; }
removes the encoding from the ref name . the encoding is just a 2 char prefix ex : gbbranchname
