# How to Cite Github

> 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.

Canonical: https://livedemo.ai/tutorials/how-to-cite-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a32c6ab56e05a00fd679d/preview?step=1

## Steps

1. Navigate to your desired repository that you want to cite.
2. Click on the 'Add file' button.
3. Select '+Create new file'.
4. Add a title to your file.
5. Simply add a ' CITATION.cff' file in the content.
6. Click 'Commit changes'.
7. Provide a commit message and extended description.
8. Click 'Commit changes'.
9. A citation widget will be added to the sidebar.
10. By following these steps, you can cite any repository in Github.
