2 self-hostable options with public code.
Lightweight self-hosted Git service
Self-hosted DevOps platform, free edition