The early form is a zigzag line, generally read as a cord or thread used to mark and tie things. It was borrowed for 'self' and as the sixth of the ten Heavenly Stems. Watch the similar 已 (already) and 巳 (snake hour).
自己 'oneself' is everywhere. Confucius's golden rule is written with it: 己所不欲,勿施于人 — 'what you do not want for yourself, do not do to others'.
A cord curled up on itself — the SELF. Fully open at the top: 己; half-closed: 已; closed: 巳.
己, 已 and 巳 differ only in how far the last stroke closes the top — a classic trap for Chinese children too.