title: Get the list of Git branches for a repository hosted on GitHub
body: <p>Is there a command line way of getting the list of branches available in a repository hosted in GitHub (without creating and running commands from within a clone)?</p>
  <p>I tried using <a href="https://en.wikipedia.org/wiki/CURL" rel="nofollow noreferrer">cURL</a> on the URL that shows the branches list and getting the content.</p>