You could even edit the lines directly on GitHub (they are forked to your online account then) and create a PR from there without downloading. Easiest way, if you only want to submit a (elsewhere tested) bugfix. You should have signed a CLA before as mentioned on
http://modx.com/learn/faq/#q7