Specify 2 branch/hash value, when using `git diff`.

- `git diff` master to current_branch.

This commit refs #59.
Divide the common function to retrieve branches from the main procedures.

This commit refs #59.