I finished my Howto on mirroring a self-hosted Git repository to GitHub using a post-receive hook. This makes it easy to use Travis CI or Docker Hub to rebuild code or containers on a Git push even when not using GitHub as primary Git hosting service.

Hope this is useful to you... ;)