I want to modify the default commit message a user sees when opening the commit message editor. Specifically I want to replace some placeholder in the commit-template with a string extracted from the current branch name and display the resulting text to the user without modifying the original commit template file.
Can this be done using overcommit and if so how and using which hook? pre_commit or prepare_commit_msg?