Create and Navigate a GitHub Repository
Plan a new repository
For a new project, the GitHub creation form lets an authorized user choose an owner, repository name, visibility and optional initial files. Use the documented creation page https://github.com/new only as a read-only walkthrough; stop before submitting. In the fictional form choose personal ownership, plant-notes, private visibility and a README for a brand-new project. Actual labels and available options may vary with permissions and product.
Avoid a second initial history
If you already have commits locally and are preparing a new remote for them, leave optional initialization with README, ignore file and license unchecked; include those files in your local history instead. Independently initialized repositories have separate root commits. Do not force push to solve this. Chapter 10 explains remote configuration and push; real authentication belongs to Chapter 12. The offline lab reproduces the two-root problem without using GitHub.
Read the repository page
The Code view represents a selected branch or revision; look for files, README, branch selection and commit history. Settings controls configuration and may be unavailable to readers. In the fictional repository main has a README and notes.txt; draft has an additional change. Select the intended branch before reading a file. Compare the offline file list with Git commands in the guide; changing the displayed branch is not merging it.
Inspect the offline repository
git branch --listgit log --oneline maingit show main:README.mdgit diff main draft -- notes.txtThe guide creates both branches. The commands list branches, inspect main, and show draft changes without switching.
Check your understanding
Identify the branch, README, commit history and settings in the guide; explain why an existing history should not be initialized again.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Create and Navigate a GitHub Repository — knowledge check
Apply GitHub fundamentals to fictional project scenarios.
What does OWNER/REPOSITORY identify?
What should an existing local history start with on a new hosted remote?
Where do you normally browse repository files?
What happens when selecting another branch in a repository viewer?
What if Settings is not available?