updateref: Support repositories with SHA256 object hashes
This MR refactors tests in the updateref package to be hash-agnostic and starts to support the SHA256 object format.
This MR refactors tests in the updateref package to be hash-agnostic and starts to support the SHA256 object format.