Improve portability of the reftable library
The reftable library makes it hard to detach some logic from Git and port it over to libgit2. We need to fix these issues.
issue