client: created method to get repository metadata

Also adding SshURL and GitURL to repository struct in order to use the
same type on metadata retrieval.

Closes #2