if (conj.) Look up if at Dictionary.com
Old English gif (initial g- in Old English pronounced with a sound close to Modern English -y-) "if, whether, so," from Proto-Germanic *ja-ba (source also of Old Saxon, Old Norse ef, Old Frisian gef, Old High German ibu, German ob, Dutch of "if, whether"), of uncertain origin or relation. Perhaps from PIE pronominal stem *i- [Watkins]; but Klein, OED suggest it probably originally from an oblique case of a noun meaning "doubt" (compare Old High German iba "condition, stipulation, doubt," Old Norse if "doubt, hesitation," Swedish jäf "exception, challenge"). As a noun from 1510s.