Fixed Git HEAD issue