A Git pre-commit hook that prevents accidental commits on protected branches (master, main, production).
✅ 🔴 Warning when committing on a protected branch.
✅ 🟢 Option to proceed (yes) or discard uncommitted changes (discard).
✅ 🟡 Default is no (commit aborted unless explicitly confirmed).
✅ 📜 Logs commit attempts in ~/.git_commit_log.txt for auditing.
✅ 🎨 Color-coded output for better readability.