Transform a target reference to its source reference following the refspec's rules
where to store the source reference name
the refspec
the name of the reference to transform
0, git_error_code.GIT_EBUFS or another error
See Implementation
Transform a target reference to its source reference following the refspec's rules