In some of cases git uses task number to push changes to remote repository. if you forgot something in your git message you can simply amend and update your git message.
Amending the most recent commit message:
git commit --amend -m "task-34 New commit message"