The easiest way is to click on the url and navigate to the page showing the diff. Then, add “.diff” to end of the url. Then wget the url.

Eg:

URL of commit

https://github.com/bananacakes/bravo_2.6.35_gb-mr/commit/600a07aa5f728e81640456c7f7020fa0c888ab9b[/code]

Add .diff and use wget from shell:

wget https://github.com/bananacakes/bravo_2.6.35_gb-mr/commit/600a07aa5f728e81640456c7f7020fa0c888ab9b.diff[/code]