How do you push tags to a remote repository using Git, especially when git push says “Everything up-to-date” but the remote doesn’t have the new tag?

Both answers above are great.

I’ll add that sometimes people get confused by the “Everything up-to-date” message because it applies to branches, not tags.

After you create a tag, git push without options won’t include it. So, for completeness and automation, I often use git push --follow-tags which pushes both commits and tags related to those commits.

It’s a handy shortcut if you want to keep your tags and commits in sync on the remote.