remove head git path