Get the source specifier
Get the destination specifier
Match a refspec's source descriptor with a reference name
Transform a reference to its target following the refspec's rules