Delete unnecessary git reference.