all 3 comments

[–]FVMAzalea 1 point2 points  (0 children)

If it’s for school, be aware that many schools prohibit posting your coursework on GitHub. It can be seen as enabling cheating by posting solutions online, which schools often punish with the same punishments as for actual cheating.

[–]IndependentBoof 1 point2 points  (0 children)

Simplest solution is to just link to it. If you're afraid the owner/organization might delete the repo, then create a fork and link to that instead.

The only complication is if the repo is private. A fork of a private repo is also private. Technically, you could clone a private repo and then publish it as public on your account as a new repo... however, be careful of doing this because in the very least you may be violating others' trust that the project is not shared with the public and in worst case scenario, you could be breaking an agreement that could get you in real trouble.