Fantastic question. This is just pulled [from gitsh](https://github.com/thoughtbot/gitsh/blob/master/vendor/vendorize#L7).

@georgebrock?