title: Search for commits on a branch other than master branch in github
body: <p>Commits present in the master branch of any repository can be obtained by searching for it on github web UI and through <a href="https://developer.github.com/v3/search/#search-commits" rel="nofollow noreferrer">github Search API</a>.<br>
  For example when we search for this <code>d28a36113a206f9f84cc97bc72ff84aa93f87ee8</code> commit, it shows that this commit resides on my <code>code-quality-metrics</code> project on both my owner account and on one another. </p>
  
  <p>But if I search for a commit like <code>3b3e426deacb2fa94159232a15bbdf1a2d8ff194</code> which is in a branch other than master branch in my repository (which is not yet merged to <code>master</code>) zero results are shown in both the web UI and in the API call. </p>
  
  <p>How do we search for commits that resides on branches other than master from <code>github search api</code>?</p>