**Describe the bug** gitRef method uses wrong api end point. It causes a deserialization problem. It should use `git/ref/%d` instead of `git/ref/%s`.