title: How to find whether a GitHub release tag is pre-release in git?
body: <p>While creating the release in github, i have checked the checkbox for pre-release. So in the releases page this tag is marked as pre-release. (with a red color label)</p>
  
  <p>now I am checking out the release to local a</p>
  
  <pre><code>git fetch upstream
  git checkout -b release-v1.0 release-v1.0
  </code></pre>
  
  <p>now I want to know if the release is a pre-release or not in the local machine.
  Is there a command for doing this this?</p>
  
  <p><a href="https://i.stack.imgur.com/qd3n6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qd3n6.png" alt="enter image description here"></a></p>