Developer Docs - Developer Codex - Working With Issues
When possible, close issues using the commit message. This is done by appending a “Fixes” keyword #0000 at the end of the commit messages (see earlier examples).
Once you complete the commit you must also label the issue on Github with Fixed In vX.Y