How to add a gist to a repository

I added a gist before creating my repository.  

Is there a way to move it to the repository or should I just build it there also?


Hey! There is not a way to transfer Gist to a specific repo. However, given gists are just rendered files (in markdown, HTML, etc.) you can just copy the file content and then manually move it to the repo of your choice. GitHub should render the file the same in the repo as it did on the Gists page.