How To Organize GitHub Repositories
How To Organize GitHub Repositories
How To Organize GitHub Repositories
Learn how to organize GitHub repositories to avoid the chaos of codes, data, and
projects being all over the place.
The good news is that the tips and tools below can simplify organizing your
GitHub backup < https://backrightup.com/blog/github-backup-ultimate-guide-
tips-steps-tools/> files and repositories, making it uber-easy to sort, locate, and
access what you need.
Adding topics makes it easier for other users to find and contribute to your project.
Include topics in your repositories that are related to your project’s intended affinity
groups, subject area, purpose, and other essential qualities.
https://backrightup.com/blog/how-to-organize-github-repositories/ 1/8
23/1/23, 22:25 How to Organize GitHub Repositories
Click a topic name to view related topics and a list of other repositories categorized
with the topic.
Find the most searched and used topics here < https://github.com/topics/> .
You can add any topic to the repo if you’re a repository admin.
Use helpful topic classifications (and whatever makes sense) based on your
repository’s intended purpose, such as community, language, or subject area.
GitHub won’t analyze private repository content and will not provide topic
suggestions.
Private and public repositories can have topics, but you will only see private repos
that you have access to within topic search results.
Important note: Creating a topic within a private repository means your topic names
are always public.
https://backrightup.com/blog/how-to-organize-github-repositories/ 2/8
23/1/23, 22:25 How to Organize GitHub Repositories
Type in the topic you want to add to your repo (under Topics) and include a space.
https://backrightup.com/blog/how-to-organize-github-repositories/ 3/8
23/1/23, 22:25 How to Organize GitHub Repositories
However, you can take inspiration from other platforms and alternatives to
GitHub < https://backrightup.com/blog/alternatives-to-github/> that might offer
similar or unique structuring and sorting ideas for repositories.
An src Folder for your source code (except if you use languages that use headers
or if you have an application framework).
A .build Folder that contains all build process-related scripts, such as Docker
compose and PowerShell.
A .config Folder which should have the local configuration related to set up on a
local machine.
A tools Folder that acts as a convenience directory. It should contain scripts for
automating tasks in your software projects, such as rename and build scripts. The
https://backrightup.com/blog/how-to-organize-github-repositories/ 4/8
23/1/23, 22:25 How to Organize GitHub Repositories
A samples Folder that provides “Hello World” & Co code supporting the
documentation.
A res Folder for all your project’s static resources, such as images.
Add other basic repo folders necessary to your project and team.
For instance, create a designated folder for your GitHub enterprise backup <
https://backrightup.com/blog/github-enterprise-backup-why-its-important/> .
Create dedicated repository folders for your special files, including the following:
Templates allow you to standardize and customize the information you want to
include when contributors open issues.
https://backrightup.com/blog/how-to-organize-github-repositories/ 5/8
23/1/23, 22:25 How to Organize GitHub Repositories
A LICENSE File explains the legal licensing, including restrictions, rights, and
regulations (among others).
Someone with owner or admin permissions who enables required reviews can also
require approval (optional) from a code owner before the author merges a pull
request within the repository.
Also, consider organizing your backup files and repositories in special files and
folders (when necessary).
https://backrightup.com/blog/how-to-organize-github-repositories/ 6/8
23/1/23, 22:25 How to Organize GitHub Repositories
Using project boards, eliminate the chaos by organizing your open-source projects,
including issues and pull requests within your GitHub repositories.
Doing so makes it easier for you and your teams to visualize the work that is in
progress or yet to start.
GitHub’s project boards provide a platform to organize and visualize projects into
separate columns.
You can use Repository boards in one repository and organization boards within a
GitHub organization across various repos (but private to members of the
organization).
If you have tons of backup files to sort or consolidate, consider creating Kanban-
style project boards when learning how to backup GitHub repository <
https://backrightup.com/blog/how-to-backup-github-repository/> .
Your choice of a project board (or project boards) depends on your project’s size
and structure.
For example, you could use boards for documentation and development at the
organization level and specific repository work, such as a community management
board.
Follow the best practices to organize your GitHub repositories, whether you are
starting new private or open-source projects.
Organize your GitHub backups as well to get the same results. Use reliable backup
services such as Backrightup.
https://backrightup.com/blog/how-to-organize-github-repositories/ 7/8
23/1/23, 22:25 How to Organize GitHub Repositories
https://backrightup.com/blog/how-to-organize-github-repositories/ 8/8