I need to get the **patch/diff** between the development and my feature branch.

How can I get this using `git` command.

Please consider the branch names be `development` and `test`. I need to get the differences from test and development branch.

Edit:

I have followed the steps provided in the below question:
[Comparing two branches in Git?](https://stackoverflow.com/questions/9834689/comparing-two-branches-in-git)

The differences are shown in the git terminal only.

How can I save the differences into a patch or diff file?