def __init__(self, config):
try:<EOL><INDENT>self.repo = Repo(config.path)<EOL><DEDENT>except git.exc.InvalidGitRepositoryError as e:<EOL><INDENT>raise InvalidGitRepositoryError from e<EOL><DEDENT>self.config = config<EOL>self.current_branch = self.repo.active_branch<EOL>assert not self.repo.bare, "<STR_LIT>"<EOL>
Instantiate a new Git Archiver.

:param config: The wily configuration
:type  config: :class:`wily.config.WilyConfig`