Print the describe result to a buffer
The buffer to store the result
the result from git_describe_commit() or git_describe_workdir().
git_describe_commit()
git_describe_workdir()
the formatting options