Getting Started with GitHub
Transitioning from local Git to the cloud is a straightforward process. This guide covers how to set up your first remote workspace.
1. Create a Repository
A repository (or "repo") is where your project's files and their history live on GitHub.
- Click the + icon in the top-right corner of any GitHub page and select New repository.
- Repository name: Give it a clear, descriptive name (e.g.,
devops-automation-scripts). - Public vs. Private:
- Public: Anyone on the internet can see this repository. You choose who can commit.
- Private: You choose who can see and commit to this repository.
- Initialization: You can choose to add a
README.mdfile, a.gitignore, or a License right away.
2. Understanding Repo Visibility
| Visibility | Best For... |
|---|---|
| Public | Open-source projects, portfolios, and learning exercises you want to share. |
| Private | Proprietary code, internal company projects, or projects with sensitive logic. |
3. The Repository Home Page
Once created, you'll see your repository dashboard. This is your "Command Center".
- Code: View files and their history.
- Issues: Track bugs and feature requests.
- Pull Requests: Review and merge code from other contributors.
- Actions: Manage your automation pipelines.
[!NOTE] README.md This file is the "Front Door" of your project. It's written in Markdown and should explain what the project does, how to install it, and how to contribute. GitHub automatically renders it on your repository's main page.