update code to follow ruby's global style guide

updated ruby code style for gem's main file `lib/graf/source.rb`.
now 'graf' work after filtered response by git

it checks that directory is under git version control or not,
also checks that a git repo have commit to generate graf or not.
Merge branch 'pravj-feature/better-git-response-handling'