use auto_init to initialize a repo