Learn more about cloning repositories
You have read-only access
[Commands] Simplify `--clean` implementation. - The other logic predates when we had support for removing a directory tree. - Also, add a basic sanity test for `--clean` which we had no coverage of.