GitHub currently allows you to reference issues in commit messages, as explained here:
If your issue is not in the same repository, this gets cumbersome and prone to typos. It’s a common use case: we keep issues separate so that we can give access to them to people without giving them access to the source code. Another use case is when you keep your source code in multiple repos but keep all your issues in one place.
The suggested enhacement is to allow a shorter notation when referencing issues in commit messages:
This should be safe to do. The user name or organization name can be automatically deduced from the Git repository that the commit is pushed to. You could argue that there is a risk that someone would mistakenly reference an issue in a repository of the same name in a different organization but I don’t think this is realistic.