Make new_leaf also init git