title: Minimal set of scopes to push to github using an access token
body: <p>I have a public github repo (I created a few years ago). I have two factor authentication enabled. I want to create a github API token to be able to push some changes to my repo.</p>
  <p>What is the minimal set of scopes that I must select in the github &quot;New personal access token&quot; page to be able to push changes to this repo?</p>
  <p>I want to avoid to give any rights that are unnecessary to the token.</p>