Glossary & Frequently Asked Questions

A quick reference guide to essential GitHub terms and answers to common beginner questions.

Glossary of GitHub Terms

This glossary defines key GitHub terms used throughout the tutorial. Refer to it whenever you encounter unfamiliar terminology.

Branch
A separate version of your repository used to develop features or fix bugs without affecting the main code. Example: creating a feature-login branch to test a new login system.
Clone
A copy of a repository that you download to your local machine for offline development. Cloning lets you work locally and then push changes back to GitHub.
Commit
A saved change to one or more files in your repository, along with a message describing what was changed. Commits are the building blocks of version history.
Fork
A copy of another user’s repository that you can modify independently. Forking is common in open-source projects where contributors propose changes back to the original project.
Issue
A tool for reporting bugs, requesting features, or starting discussions about a repository. Issues help keep track of tasks and problems.
Pull Request
A request to merge changes from one branch or fork into another repository. Pull requests allow for code review and discussion before merging.
README.md
A markdown file that introduces your project, explains its purpose, and provides setup instructions. It’s the first thing visitors see when they open your repository.
Repository
A folder on GitHub that contains your project files and tracks changes over time using Git. Repositories can be public or private.
Codespaces
A cloud-based development environment that runs in your browser and integrates with Visual Studio Code. It eliminates the need for local setup.
Merge
The process of combining changes from one branch into another. Merging is often done after a pull request is approved.
.gitignore
A file that tells Git which files or folders to ignore. Useful for excluding temporary files, logs, or sensitive information.
GitHub Pages
A feature that lets you publish websites directly from a repository. Commonly used for project documentation or personal portfolios.
Actions
GitHub’s automation tool that allows you to run workflows, tests, and deployments directly from your repository.
Star
A way to bookmark repositories you find interesting or want to follow. Stars also signal popularity in the GitHub community.
Organization
A shared account where groups of people can collaborate across multiple repositories. Organizations are often used by companies or teams.

Frequently Asked Questions

Here are answers to common questions new GitHub users often ask. These will help you troubleshoot and understand key features.

Do I need to install Git to use GitHub?
No. You can use GitHub entirely in your browser, especially with GitHub Codespaces. However, installing Git locally gives you more control and advanced features.
Can I make my repository private?
Yes. When creating a repository, you can choose between public and private visibility settings. Private repositories are only accessible to you and collaborators you invite.
What happens if I delete a file by accident?
You can restore it by reviewing your commit history and reverting to a previous version or copying the content from an earlier commit. GitHub’s history makes recovery possible.
Can I collaborate with others on GitHub?
Absolutely. You can use forks, pull requests, branches, and issues to work with teammates or contribute to open-source projects. Collaboration is GitHub’s strongest feature.
How do I publish a website with GitHub Pages?
Go to your repository settings, scroll to the GitHub Pages section, and choose a branch to publish from. GitHub will generate a public URL for your site. Many developers use this to host portfolios or documentation.
Is GitHub free?
Yes. GitHub offers free accounts with unlimited public and private repositories. Paid plans add advanced features like enterprise support and larger storage.
What’s the difference between Git and GitHub?
Git is the version control system that tracks changes to files. GitHub is a cloud platform that hosts Git repositories and adds collaboration tools, a web interface, and integrations.
Can I use GitHub without coding?
Yes. Many people use GitHub for documentation, project management, or design files. It’s not limited to programmers.
How do I avoid merge conflicts?
Communicate with your team, commit frequently, and pull changes from the main branch before starting new work. If conflicts occur, GitHub highlights them so you can resolve manually.
What are GitHub Actions?
GitHub Actions let you automate workflows such as running tests, building projects, or deploying code. They save time and ensure consistency.