Fix git undo dir