I've tried getting this set up at my University, it was hell dealing with them. We ended up going with Gitlab.