Repositories allow you to collaborate on code with your team.
In order to create repositories you need to have Project Admin permission for the project to which you want to add a repository.
When a repository is created, the project permissions are applied to the repository. That means all repositories created in a project share the same access and permission settings.
Go to the project and click Create repository to open the repository creation form:
Once submitted you will be taken directly to your repository homepage.
There won't be any content in your repository yet, so you'll see some instructions to help you push code to your repository:
You will find your clone URL in the lefthand sidebar of the repository homepage. You can use this URL and share it with other people.
Let other people collaborate with you
In order to grant users access to this repository you have to set up permissions at the parent project level. More information is available on Creating projects. You can also create a Contributor's guidelines file to add to your repository, where you can add info on what you'd like your contributors to do when contributing to your repository.