remove directory added as submodule
add directory previously added as submodule