title: Why does GitHub show me the "compare and pull request" button at the top of the "< > Code" tab some of the time and not others?
body: <p>I read somewhere that it's only when you push a &quot;recent branch&quot; but am unable to find what constitutes a recent branch. I've yet to see a clear and succinct answer regarding when this button will be displayed vs. hidden, even in the Github documentation. Any insight would be greatly appreciated.</p>