pub async fn list_refs( dir: &Path, kind: &str, ) -> Result<Vec<RefRow>, ForgeError>
for-each-ref over refs/heads or refs/tags, newest first.
for-each-ref
refs/heads
refs/tags