You can either commit by passing the commit message via command line:
git commit -m '#1 fixed issue'
If you want to enter the commit message using a text editor you need to keep one space at the beginning of the line before the #
.
By default git is using the #
as the so called cleanup character. You can change this behaviour by passing a different character:
git commit --cleanup='@'
Thanks @CharlesBailey for this information.
Btw, your company should rethink about the agreement as it breaks the default git workflow.