Remove the origin before running `git init`.
Run `npm run prepublish` as a pre-commit hook.