def __init__(self, allowed_extensions, git_dir): self.allowed_extensions = allowed_extensions self.git_dir = git_dir self.git = Git(git_dir)