How to Cite Github
- George Apostolov
How to Cite Github: step-by-step guide
Navigate to your desired repository that you want to cite.
Click on the 'Add file' button.
Select '+Create new file'.
Add a title to your file.
Simply add a '
CITATION.cff'file in the content.Click 'Commit changes'.
Provide a commit message and extended description.
Click 'Commit changes'.
A citation widget will be added to the sidebar.
By following these steps, you can cite any repository in Github.
Quick answer: To cite any repository in GitHub, navigate to your repository, click 'Add file', select '+Create new file', add a title, add a ' CITATION.cff' file in the content, click 'Commit changes', provide a commit message, and click 'Commit changes' again to add a citation widget to the sidebar.
About this GitHub tutorial
Add a citation widget to your repository by creating a CITATION.cff file and committing the changes on GitHub. This guide shows how to cite Github in 10 steps, starting with "Navigate to your desired repository that you want to cite" and finishing with "By following these steps, you can cite any repository in Github". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to cite Github?
10 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Clone a Repository from Github in Ubuntu, How to Clone from Github and How to Clone Github Repository. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





