Create a new symbolic reference.
the reference name
the target for a symbolic reference
the created git_reference or NULL on error