I think we already have discussions on commits in GitLab. We used to have discussions on repo's (the wall) but this wasn't used much. I agree with the hyperlinking, if I mention an issue in the chat the issue should get a backlink to the chat archive.