Create a new symbolic reference.
The reference will be created in the repository and written to the disk.
The generated reference must be freed by the user.
If force
is true and there already exists a reference
with the same name, it will be overwritten.
The name of the reference
The target of the reference
Overwrite existing references
GIT_SUCCESS or an error code