When I Updating zf-commons/zfc-admin using composer, it gives an RuntimeException error saying that
[RuntimeException] The .git directory is
The easiest way is to remove the install folder of that component before making the composer update
rm -rf /var/www/site2.com/vendor/zf-commons/zfc composer update