// Returns the name of the reference func (r Reference) Name() string { return C.GoString(C.git_reference_name(r.ref)) }
func (v *Reference) Name() string { return C.GoString(C.git_reference_name(v.ptr)) }
func (ref *Reference) Name() string { return C.GoString(C.git_reference_name(ref.git_reference)) }