change git method for server too