In the past I have really enjoyed using Trac with subversion repositories hosted on some of my own servers. The integrated ticketing and online code browsing is very conven
gitweb is great and easy to setup, git gui isn't bad either