Getting Started with GitHub๏
๐ GitHub is where your project lives online. It works with Git (your version control tool) to help you back up code, collaborate with others, and track changes over time.
This guide introduces basic GitHub terms and features, aimed at beginners using the template-project.
๐ Git vs GitHub๏
Git is the version control tool you use on your own computer to track file changes.
GitHub is a website that hosts your Git repositories in the cloud and helps people collaborate.
๐ฆ What Is a Repository?๏
A repository (or โrepoโ) is your project folder, tracked by Git and stored on GitHub. It contains:
Your code
Documentation and data files
A commit history of changes
Settings for issues, automation, and more
Each repo has a main branch, and often other branches used for development.
๐ด What Is a Fork?๏
If you want to suggest changes to someone elseโs project (like this one!), you start by creating a fork:
A fork is your own personal copy of someone elseโs repo, under your account.
You can make changes in your fork without affecting the original project.
To propose those changes back, youโll open a pull request.
๐ฟ What Is a Branch?๏
A branch is a version of your repo you can safely experiment on:
The default branch is
mainYou create a new branch like
fix-typooradd-feature
Once youโre done, you merge the branch back into main.
๐ What Is a Pull Request?๏
A pull request (PR):
Proposes changes from one branch into another
Shows what changed, side-by-side
Allows conversation and review
Often triggers automated checks (like running tests)
You can open PRs even in your own repo to keep track of your edits.
๐ What Are Issues?๏
Issues are GitHubโs way to track:
Bugs
Feature ideas
To-do lists or questions
Each issue can be labeled, assigned to someone, and linked to a PR.
โ๏ธ What Are GitHub Actions?๏
GitHub Actions automate things like:
Running tests when code is pushed
Building your documentation
Publishing your project to PyPI
They live in .github/workflows/.
๐ฅ GitHub Desktop (Optional)๏
GitHub Desktop is a free app that lets you:
Clone repositories
Create branches
Commit changes
Push to GitHub โ all without using the terminal.