Linking a pull request to an issue - GitHub Docs
You can link a pull request or branch to an issue to show that a fix is in progress and to automatically close the issue when the pull request or branch is merged.