Added support for getting extras in patch file

This patch adds support for getting extras in patch file
that contain commit author, date and message if parsed
file is a git patch file.