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:
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.