# Topic 23: GitHub and Software Delivery

**Fictional Northstar case · self-paced · 45–90 minutes plus optional setup**

## Opening question
Can another person understand, review and reproduce your change?

## Explain
Git records versions; GitHub adds collaboration, reviews and automation. A repository becomes evidence of ability when the work is original, understandable and validated. A commit history alone does not establish skill. Branches and pull requests make a change reviewable, while tests and rollback plans help protect existing behavior. Public visibility is not permission to reuse material without checking its license.

## Supporting technologies
- **Repository and README:** Store source with explanation and boundaries.
- **Branch and commit:** Isolate a focused change and record why it exists.
- **Pull request and checks:** Review the difference and its validation.
- **CI/CD and rollback:** Automate checks and publish only the intended result.

## Scenario
Northstar needs a spelling correction and a validated link in a learning page without changing the existing exercises.

```text
change,scope
spelling,one paragraph
link,one official reference
exercise_logic,unchanged
private_data,excluded
```

## Hands-on procedure
1. Create your own learning repository using GitHub Hello World. Begin private if you need time to inspect content before publication.
2. Add a README with problem, your contribution, environment, evidence, limitations and sources.
3. Create a branch and change only the supplied synthetic paragraph or a README in your own repository.
4. Commit with a useful message and open a pull request. Inspect Files changed before merging.
5. Record link and content checks; compare the result to the stated scope.
6. Merge only in your own authorized repository and document how a revert would restore the prior behavior.

## Expected reasoning and limits
The diff contains the intended correction and reference only. The README distinguishes synthetic lab work from employment experience and identifies any AI assistance.

## Best practices
- Never commit secrets, private records or unauthorized materials.
- Use focused branches and review exact differences.
- Require meaningful checks for the changed behavior.
- Preserve attribution and review reuse licenses before copying.

## Vendors, projects and learning
- [GitHub](https://docs.github.com/en/get-started/using-github/hello-world): Repository and pull-request documentation
- [GitLab](https://docs.gitlab.com/): Alternative collaboration and delivery platform
- [Git](https://git-scm.com/doc): Open-source version control reference

## Optional technical extension
Add a small automated test for an actual behavior in your own project, deliberately fail it on a branch and fix the defect. Do not add meaningless tests solely for a badge.

## Career practice
Relevant role families to investigate: Junior developer, Platform support technician, Infrastructure automation trainee. No current vacancy or hiring requirement is asserted.

Interview: How does your pull request show what changed, why, and how you checked it?

## Sources
- [GitHub Hello World](https://docs.github.com/en/get-started/using-github/hello-world)
- [GitHub account setup](https://docs.github.com/en/get-started/onboarding/getting-started-with-your-github-account)

## Portfolio evidence
Use the [portfolio guide](../guides/portfolio.md). Submit original input, decisions, tests, actual results, limitations and source attribution. Clearly label modeled, planned and performed work.

## Suggested prerequisites
Topic 22
