I simply disallow any git commands
"Hmm, it looks like I can't run git commands directly. I will quickly implement a small shell wrapper so I can commit."
"Hmm, it looks like I can't run git commands directly. I will quickly implement a small shell wrapper so I can commit."