裸体仓库和镜像仓库

Feb. 4, 2023

As with a bare clone, a mirrored clone includes all remote branches and tags, but all local references will be overwritten each time you fetch, so it will always be the same as the original repository.

this clarified for me that local tags will be overwritten as well as branches by using a mirrored clone.

You might also want to use --prune when running git fetch to remove local references that are no longer on the remote.