A great way to feed OpenAI all your source code for auto generating commit message based on code differences(GPT based approach):

gpt-commit

commitomatic

what the commit