It was too long to comment, so the new answer:
I consider this thread to be completely normal in hg - while in git this is not possible, neither with the working tree, nor with any other command, as it seems (?)
3 bash-4.2
In git, they do not support this thread. This allows the same only to be checked ONCE - and their excuse (unclean working trees) does not really convince me, since in hg this is also possible, as you can see.
Also in hg, to update the general one, you, well, update it (hg pull).
In Git, you should say:
git fetch origin +refs/heads/*:refs/heads/* --prune
source share