Get the HEAD symbolic reference of a git repository.
Optional
The directory of the git repository.
The HEAD symbolic reference of the repository.
Get the HEAD symbolic reference of a git repository.