Self-hosted alternatives to GitHub

One open-source app you can run on your own server instead of GitHub, with install guides.