title: How to check my GitHub current rate limit?
body: <p>The GitHub page <a href="https://developer.github.com/v3/rate_limit/" rel="noreferrer">https://developer.github.com/v3/rate_limit/</a> shows a rate limit status as example:</p>
  
  <p><strong>Response</strong></p>
  
  <pre><code>Status: 200 OK
  X-RateLimit-Limit: 5000
  X-RateLimit-Remaining: 4999
  X-RateLimit-Reset: 1372700873
  {
    "resources": {
      "core": {
        "limit": 5000,
        "remaining": 4999,
        "reset": 1372700873
      },
      "search": {
        "limit": 30,
        "remaining": 18,
        "reset": 1372697452
      }
    },
    "rate": {
      "limit": 5000,
      "remaining": 4999,
      "reset": 1372700873
    }
  }
  </code></pre>
  
  <p>But only says I need to check this <code>GET /rate_limit</code>. But how to use that? Should I do a command like this bellow?</p>
  
  <pre><code>curl -i https://api.github.com/users/octocat GET /rate_limit
  </code></pre>
  
  <p>How would be this command?</p>
  
  <hr>
  
  <p>Related questions:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/44395747/github-api-limit-exceeded-how-to-increase-the-rate-limit-in-front-end-apps">GitHub API limit exceeded: how to increase the rate limit in front-end apps</a></li>
  <li><a href="https://stackoverflow.com/questions/30995040/jspm-saying-github-rate-limit-reached-how-to-fix">jspm saying &quot;github rate limit reached&quot; - how to fix?</a></li>
  <li><a href="https://stackoverflow.com/questions/33655700/github-api-fetch-issues-with-exceeds-rate-limit-prematurely">Github API: Fetch issues with exceeds rate limit prematurely</a></li>
  <li><a href="https://developer.github.com/v3/#rate-limiting" rel="noreferrer">https://developer.github.com/v3/#rate-limiting</a></li>
  </ol>