How to create a GitHub repository example

The key to GitHub-based DevOps is the Git repository around which every operation is based. After a developer registers and account, the first step they need to take is to create a GitHub repository.

Developers can get started with their GitHub journey by simply clicking the green “New” button on the repositories page.

create GitHub repo

Create a GitHub repository with online creation wizard.

How to create a GitHub repository

Developers can follow these 10 steps to create a GitHub repository:

  1. Log into the GitHub administrative console
  2. Move to the GitHub Repositories page
  3. Click on the green “New” button
    • This will bring up the GitHub repo creation wizard
  4. Enter the name of the GitHub repository
  5. Include a description (optional)
  6. Choose to make this a public or private GitHub repository
  7. Add a README (optional)
  8. Include a .gitignore file for your development framework (optional)
  9. Choose a fair use license
  10. Click the green “Create Repository” button to finish the process

Post GitHub repository creation steps

Once the GitHub repository is created, developers will need to obtain the unique GitHub URL associated with it and provide it to other developers and DevOps professionals.

With this URL, developers can clone the GitHub repo along with any Git submodules it may include. Other lifecycle activities include renaming the GitHub repo or deleting a GitHub repo.

However, hopefully it takes a while after a developer creates a GitHub repository that they want to use any rename or delete operations.

Become a Git power user

Want to become a Git power user? Review the following articles and tutorials that dive more into Git.