pub fn parse_remote(refspec: &str) -> Option<(NodeId, &str)>
Parse a remote refspec into a peer id and ref.