Created by: jojosch
This fixes issue #4105 and #3739.
Now the branch name can contain a # at any position (#4105).
#
Also a + in branch name is possible (#3739):
+
Should any other special chars be allowed in the branch name?