Github has a good [article](https://help.github.com/articles/licensing-a-repository/) of how to license a repository.
Github has a good article of how to license a repository.