# Why is there @remove-git-submodules command

**URL:** <https://forum.mautic.org/t/why-is-there-remove-git-submodules-command/29801>\
**Category:** Development\
**Created:** [November 1, 2023, 4:59pm UTC](https://forum.mautic.org/t/why-is-there-remove-git-submodules-command/29801 "2023-11-01T16:59:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [November 1, 2023, 4:59pm UTC](https://forum.mautic.org/t/why-is-there-remove-git-submodules-command/29801/1 "2023-11-01T16:59:34Z")

</div>

Hi,

I would like to understand why do we have this command executing on each install/update of packages?

When I am developing plugins I have a repo cloned into plugins directory and each time I run `composer install` or `composer dump-autoload` command above deletes my .git folder.

My guess is that there is a valid reason for this command to be executed, I just do not know what it is, if someone can explain to me why this command is there, that would be greatly appreciated.

Regards, M.
