Ggit.Ref.get_shorthand

### Method

# Ggit Refget_shorthand

#### Declaration [src]

    const gchar*
    ggit_ref_get_shorthand (
      GgitRef* ref
    )

#### Description [src]

Gets the shorthand name of `ref`.

#### Return value

Returns: | `const gchar*`
| The shorthand name of a reference or `NULL`.
| The data is owned by the instance.
| The return value can be `NULL`.
| The value is a NUL terminated UTF-8 string.