Link GitHub issue numbers in commit messages in Android Studio/IntelliJ using File > Settings > Version Control > Issue Navigation:

Issue ID (regular expression): #([0-9]+)
Issue link (replacement expression): https://github.com/<user>/<repo>/issues/$1

No idea this was possible…