add support for older git versions (1.7.x)
Merge pull request #58 from kenchan/support_older_git

add support for older git versions (1.7.x)