No, string and unicode objects can't have interfaces. But for this use-case, I'd register named utilities instead and look up the utility by name, or list all utilities available:
from zope.component import getUtilitiesFor, getUtility
names = [name for name, utility in getUtilitiesFor(IRepository)]
gitrepo = getUtility(IRepository, name='git')