Create a Repository
To create a repository
Navigate to the project in which you want to create a repository.
On the project sidebar, choose Repositories.
On the repositories page, click New repository:
From the dialog window, choose one of the following tabs:
Choose this option if you want to create a new repository and start from scratch or push some source code to it that you have locally.
Choose this option to import a repository from another Git hosting service.
Choose this option if you want to create a synchronized mirror of an existing remote repository from another Git hosting. Note that mirroring works both ways, which means commits will be pushed to the remote repository when pushed to the mirror.
Choose this option if you want to create a synchronized mirror of an existing repository hosted on GitHub with the full support for pull request sync and webhooks.
Fill out the form (follow the instructions correspond to the option you have selected). When you're done filling out the form, click Create.
After you have created a repository, you can:
Set up or edit Set Up Push Restrictions, Set Up Branch and Merge Restrictions, Repository Webhooks.
Clone the repository to your local machine and start committing to it.