A Github workalike that is self-hosted. Written in Go, runs anywhere you can compile Go code for. Lightweight, will run happily on a RasPi. If you know how to use and admin Github, you know how to use Gogs already.
Github repo: https://github.com/gogs/gogs