Need Assistance?

support@tutorialshub.in

GitHub Fundamentals

Creating your first GitHub repository

ADVERTISEMENT
GitHub Free Lesson
5 min read
ADVERTISEMENT

Repository basics

A repository is the central GitHub space for a project's code, history and collaboration. It can contain source files, documentation, issues, pull requests, workflows and release information.

Important repository choices

When creating a repository, choose a clear name and decide whether it should be public or private. A public repository can be viewed by anyone, so never place passwords, API keys or private customer data inside it.

Initialize carefully

If you already have a local Git project, you can create an empty GitHub repository and connect it to the local repository. This avoids creating two unrelated histories unless you intentionally want GitHub to generate initial files.

ADVERTISEMENT