Init repository.