refspec: introduce struct refspec