Mercurial (hg) is a version control system that allows developers to work collaboratively without conflicts through features like branching, merging, pulling and pushing changes. It solves coordination problems between developers by allowing them to independently work on code and easily integrate their changes. Hg enables workflows where all developers have equal access to commit to a shared repository, or where one "codebase overlord" controls pushes to the main codebase.