I'm publishing a tutorial that includes a lot of code interspersed with documentation. I'm considering two ways of hosting the code:
- Separate git repository with code files and markdown files explaining the code
- Github gist containing both of these
Are there advantages of hosting in a gist v/s a repository? When would one prefer one of these over the other?