Does renaming master cause problems later?

First of all, will gitlab accept a different name for master? I know that…

$ git branch -m master <new-name>

works on a local repository but would that change anything on gitlab? And, even if it is possible with regard to gitlab side of things, would it cause problems using other features later? Are there some features with gitlab that look for the name “master”? and if they don’t find it they break? If so, can they be configured for a new name?

Thanks in advance for any help.