Displays the difference between two branches.
git diff <branch>..<other-branch>to view the difference between
git diff <branch>..<other-branch>
git diff patch-1..patch-2 # Displays the difference between branches `patch-1` and `patch-2`
Displays differences between staged or unstaged changes and the last commit.
Prints a summary of changes between two given commits.
Prints the current status of the working tree.