Fix git hack

resolves #29
Err, I'll leave this for a different PR. I'll update to your suggestion