GitBucket is the easily installable open-source GitHub clone written with Scala. For those worried about what might happen to Github with its recent purchase by Microsoft, GitBucket might just be the remedy you need.
Since it’s a clone of GitHub that means it has almost all the features of GitHub that you’ve grown accustomed to. But it has to be hosted in-house.
Some repositories it could replace: