Just like Nils posted on the comment from @randomuser the possible solution could be to place the git plugin at the button after all the notes are generated.
Also, I added the git plugin as a dependency on my package.json
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1"
}