Garbage collection added to `clone` and `branch --all` commands