Create a new in-memory git_tag.
The tag object must be manually filled using setter methods before it can be written to its repository.
pointer to the new tag
The repository where the object will reside
0 on success; error code otherwise