Port test repo from libgit2
Blob test: use test repository
Commit test: use test repository
Reference test: use test repo
Repository test: use test repo
Tree test: use test repo