def get_url(self):
        if self.role in ('git_pillar', 'winrepo'):
            # With winrepo and git_pillar, the remote is specified in the
            # format '<branch> <url>', so that we can get a unique identifier
            # to hash for each remote.
            try:
                self.branch, self.url = self.id.split(None, 1)
            except ValueError:
                self.branch = self.opts['{0}_branch'.format(self.role)]
                self.url = self.id
        else:
            self.url = self.id
Examine self.id and assign self.url (and self.branch, for git_pillar)
dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/GitProvider.get_url