Gitlab doesn't support the same rules for naming as git
When creating a branch there are a handful of characters that you cannot use in your branch. Unfortunately Gitlab is not consistent with Git in what these characters are. I tried to push a branch to Gitlab that was named "feature/763551-Tilføjelse-af-disk-information-til-GetServerStandardInformation-in-customerportal" and this is perfectly legal in Git but when I tried to push it to Gitlab I got the follow error:
remote: /opt/gitlab/embedded/lib/ruby/2.1.0/json/common.rb:223:in `encode': "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError)
remote: from /opt/gitlab/embedded/lib/ruby/2.1.0/json/common.rb:223:in `generate'
remote: from /opt/gitlab/embedded/lib/ruby/2.1.0/json/common.rb:223:in `generate'
remote: from /opt/gitlab/embedded/lib/ruby/2.1.0/json/common.rb:394:in `dump'
remote: from /data/gitlab-omnibus/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:25:in `update_redis'
remote: from /data/gitlab-omnibus/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:18:in `exec'
remote: from hooks/post-receive:17:in `<main>'
The problem was the character "ø".
I was expecting Gitlab to have the same naming rules as Git.