def __init__()

in config_operator/config_operator/config_source/RemoteGitConfig.py [0:0]


    def __init__(self, git_url: str,
                 git_branch: str = 'master',
                 git_username: str = None,
                 git_token: str = None,
                 update_every_seconds: float = LISTEN_FOR_UPDATE_INTERVAL_SECONDS,
                 local_dir: str = DEFAULT_LOCAL_REPO_DIR,
                 repo: Repo = None):
        """

        :param git_url:
        :param git_branch:
        :param git_token:
        """
        self._git_url = git_url if git_url.endswith(".git") else git_url + '.git'
        if git_username and git_token:
            self._git_url.replace('https://', f'https://{git_username}:{git_token}')
            self._git_url.replace('http://', f'http://{git_username}:{git_token}')

        self._git_branch = git_branch
        self._git_token = git_token
        if local_dir is None:
            local_dir = DEFAULT_LOCAL_REPO_DIR
        super().__init__(local_dir, update_every_seconds=update_every_seconds)


        if repo:
            self._repo = repo
        else:
            self._repo = None
            self._init_local_config_repo()

        self._latest_commit_key = self._pull_remote()