By using GitHub you have agreed to the GitHub's Terms of Use, including that
- you license your contribution under the same terms as the current repository's license, and
- that you agree that you have the right to license your contribution under the current repository's license.
See https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license.