Preventing `git commit` on keyword detection

Having used [Git]( to maintain my codebases for a while now, I've started fine-tuning my workflow and I've come across a number of features that I think would be interesting as part of the suite of tools already available.

Git commit safety

CREDIT: Raffles Medical Group I don’t know if I’m the only one that faces it, but I seem to regularly edit the contents of a local Git branch, add/remove files, commit, only to realise that I’ve been working on the wrong branch!