Fix git support