As our company would never let a third party like github anywhere near our source code, is anyone aware of any software or setup guides or blogs on how to setup a scm server
Use Gogs. It's a lightweight git server with web interface written in Go language. It looks like a github clone, but not at all. There is an internal bugtracker and wiki, but they can be replaced by external in settings. Take a look at it.