install git environment firstly