title: What happen to Git tags pointing to a removed commit
body: <p>Say I do the following:</p>
  <ol>
  <li>Create branch <code>X</code></li>
  <li>Create Tag <code>t</code> (to branch <code>X</code>)</li>
  <li>Push</li>
  <li>Remove branch <code>X</code></li>
  </ol>
  <p>What happen to tag <code>t</code>? is it just floating there? is it considered as garbage?</p>
  <p>Should I remove all tags pointing at branch before removing the branch itself?</p>
  <h3>Reference</h3>
  <p>From <a href="https://git-scm.com/book/en/v2/Git-Basics-Tagging" rel="noreferrer">Git Basics - Tagging</a>:</p>
  <blockquote>
  <p>Git uses two main types of tags: lightweight and annotated. A
  lightweight tag is very much like a branch that doesn’t change – <strong>it’s
  just a pointer to a specific commit.</strong></p>
  </blockquote>