title: using the github API, Create git pull request without checking out the code
body: <p>How can I create a github pull request for a project that I haven't checked out using the github api. I want to automate simple changes to repositories, that I need not check out first. I simply want to pull a file from raw.githubusercontent.com modify it and create said pull request.</p>
  
  <p><strong>EDIT</strong> The github web user interface allows to edit foreign files by cloning and creating a pull request in the back ground. </p>