port lookupCommit to Hit
Add a test for createTag in gitlib-test.
Port createTag to Hit