pub fn parse_refspec(refspec: &str) -> Result<(Option<GString>, GString), Error>