change `namespace` annotation to `is_namespace` and use `namespace` for name of namespace dont change commit when commit is None - otherwise always reset to recent version when we don't intend to