If someone links to a Github or Gitlab repo in a Stackoverflow post, or a Github or Gitlab gist, is the contained content CC-BY-SA? Let's say I am the sole author of the code on Github/Gitlab?
For a second senario: Let's say I am one of several authors in a Github/Gitlab repo, and the code is MIT licensed? Does the code still have to be CC-BY-SA?