GitService: Add support for refs

This commit adds support for Git refs.

Listing of refs does not support sub-namespaces.
add Ondrej Kupka as contributor