Fix git funtionality