repository: add reference_glob()
reference: add id() to get the sha