How to Install Gitlab on Debian 8 (Jessie)

Gitlab is a web-based management and collaboration software for GIT servers similar to GitHub. It contains features like issue tracking, file browser, change tracking and a project wiki. In this tutorial, I will install Gitlab CE on a Debian 8 server behind a Nginx proxy. The Nginx proxy improves scalability and security of the system.