git branch diff in commits code example Example: git diff two commits Click to copy-> git diff 0da94be 59ff30c > my.patch -> git apply my.patch