Added backward compatibility for older git clients

This fixes #3
Merge pull request #4 from subesokun/feat-issue-3

Added backward compatibility for older git clients