Move gitmodules into template file