Repositories documentation
Learn to use and manage the repositories that allow you to store and collaborate on your project's code.
Recommended
Quickstart for repositories
Learn how to create a new repository and commit your first change in 5 minutes.
About repositories
A repository contains all of your code, your files, and each file's revision history. You can discuss and manage your work within the repository.
Best practices for repositories
Learn how to use repositories effectively and securely.
Articles
About archiving content and data on GitHub
You can archive content and data for other people to view and reference.
About CITATION files
You can add a CITATION file to your repository to help users correctly cite your software.
About code owners
You can use a CODEOWNERS file to define individuals or teams that are responsible for code in a repository.
About email notifications for pushes to your repository
You can choose to automatically send email notifications to a specific email address when anyone pushes to the repository.
About Git Large File Storage
GitHub limits the size of files allowed in repositories. To track files beyond this limit, you can use Git Large File Storage.
About large files on GitHub
GitHub limits the size of files you can track in regular Git repositories. Learn how to track or remove files that are beyond the limit.
About merge methods on GitHub
You can allow contributors with push access to your repository to merge their pull requests with different merge options or enforce a specific merge method for all of your repository's pull requests.
About protected branches
You can protect important branches by setting branch protection rules, which define whether collaborators can delete or force push to the branch and set requirements for any pushes to the branch, such as passing status checks or a linear commit history.
About releases
You can create a release to package software, along with release notes and links to binary files, for other people to use.