feature(update) add git check

Add check of `.git` directory before running `git pull`.
Merge pull request #18 from tarzak/patch-1

feature(update) add git check