Bitbucket offers free source code hosting for Git and Mercurial projects, as well as project wikis and issue tracking.
This integration will post to a Slack channel when code is committed to a repository.
Alternatives to Bitbucket
Bitbucket is listed in: Source Control
Source control and code management.
Collaborate and manage software projects online.
A programmer's best friend, now in Slack.
The Subversion software source control package.
XP-Dev.com posts repository events to your Slack channels
Custom rules for Github repos and violation monitoring
On-premise source code management for Mercurial, Git & SVN