A person is justified in threatening or using force against another when and to the extent that he or she reasonably believes that such threat or force is necessary to prevent or terminate such other's unlawful entry into or attack upon a habitation; however, such person is justified in the use of force which is intended or likely to cause death or great bodily harm only if:
OCGA § 16-3-23