When a development team is working on a PHP project that uses Composer with Git, it often happens that there are conflicts on the
composer.lock file, on the "content hash" line.
To solve this, Composer provides a way to update the lock file from the installed packages, including the content hash value:
composer update --lock. This does not update every package to the latest versions (as
composer update would do).