Today I wanted to download the PR diff for using in an AI code tool code review. Found that if you add .diff or .patch to the github PR URL you can download the diff directly.
Tag: diff
This page helps you to view a diff for a given commit hash. Useful when you want to see specific commits and want to extract and generate a diff in case you lost the commit.
Source: Git – how to view diff for a given commit id – InfoHeap