we wanna clone as root so wa can clone to protected dirs
introduce possibility to handle branches
get the order right
fix issue if no restrict mode, but submodules are used