fix some git structures.