You can easy write VSCode's active branch name to commit message box with format as you wish by one command.
- Go to command palette (Ctrl/Cmd + shift + P)
- Enter "Branch to Commit" and enter.
Change the branch name resolver regex or change your commit convention using extension settings.