Skip to Main Content

Depositing Data in Repositories

Creating a new repository from the web UI

  1. In the upper-right corner of any page, select +, then click New repository. 

  1. You can choose to create a repository from an existing template by hitting “Choose a template” from the dropdown menu and then selecting a template repository 

  • If you choose to use a template, select “Include all branches” to include the directory structure and files from all branches in the template 

  • If you're not using a template, there are a number of optional items you can pre-populate your repository with. If you're importing an existing repository to GitHub, don't choose any of these options, as you may introduce a merge conflict. You can add or create new files using the user interface or choose to add new files using the command line later 

  1. Use the Owner dropdown menu to select the account you want to own the repository. 

  1. Give your repository a title, which should reflect the nature of your project, and an optional description with basic information about your code 

  1. Choose a repository visibility 

  1. Follow best practices for code sharing 

  • Create a README file 

  • Create a .gitignore file 

  • Select a software license to determine your project’s terms of reuse 

  1. Click Create repository.