added service discovery for git endpoint