The cause of the problem: GitLab project permissions are set incorrectly
As a developer, you don’t have permission to create the default master branch, you need the manager to create one
Solution:
Method 1: The person with the highest authority initializes the master branch
Method 2: The pusher is set to the highest authority