Saturday, 1 November 2025

Git - Create first project

Creating a project on GitHub involves creating a repository to store the project's files and manage its versions. 

GitHub Repository (often shortened to "repo") is the fundamental container for a project. It's where all the project's files (including code, documentation, images, etc.) and its complete revision history are stored. When you click "Create repository", you are essentially setting up the storage  and version control backbone for your project.

Project can be created as public or private .























Lets' create a public project.










































Here you can find the repo url:

git@github.com:mahekarthya/devops-demo-pub.git

As the project is created as public anyone can access the page without login to github













Let's create a private project now.
























As it's private repo, if we tried to access we will get 404 error 















We can add collaborator to private project so that they can contribute . I've another github account "mahesh-p86" let me add that account 












































































Now login to github as mahesh-p86 and try to access the private repo























Accept the invitation.

Private project has only collaborators option , Public project can have below option 

























No comments:

Post a Comment

Building a Safer PostgreSQL CI/CD Pipeline with GitHub Actions: Dev → PR Review → Test Promotion

In my previous post, we explored a simple push-to-main deployment strategy . While functional, that model is not considered an industry best...