def __init__(self, path=None):
self.path = None<EOL>if path is None:<EOL><INDENT>self.path = self.get_working_directory()<EOL><DEDENT>else:<EOL><INDENT>self.path = path<EOL><DEDENT>assert self.exists()<EOL>
Initialize a new Vcs object for a repository located at `path`.
        If `path` is `None`, then `get_working_directory` is used to identify
        the path.

        Args:
            path (str) - optional. The path to the repo working directory.