add git support
Merge pull request #1 from Xuyuanp/git-status

add git support