Thanks to visit codestin.com Credit goes to libgit2.org
Get the tagged object of a tag
This method performs a repository lookup for the given object and returns it
pointer where to store the target
a previously loaded tag.
0 or an error code