I've created a staging version of an application, mirroring what I have in development. However, I had a few problems with the routing on staging and one suggestion was to run composer update.
Since doing that I've made changes on development and I'm now one commit ahead of the repo, and by extension — staging.
What I wasn't aware of at the time was that the "composer.lock" file had been updated on staging.
I understand that I do need to keep the changes in the lock file on staging.
What would be the best course of action in this scenario?
In more explicit terms: What steps would I need to follow to avoid conflicts with Git?