Instead of hosting my company's source code on GitHub, I would like to host it on our intranet under our control.
What software could I use to simulate the same kinds of Git-based source-control features that are offered by sites like GitHub?
Ideally this solution would be associated with a Ruby-based web application.
The most popular Git hosting sites are GitHub and Bitbucket. Both offer free hosting with certain limitations.
Visual Studio Team Services provides Git hosting for unlimited private code repositories for up to 5 users free. Paid plans are available for larger teams.
Open Source Projects and GitHub The largest of platforms that provide the space for such projects is GitHub.
Depending on whether you want a feature-for-feature clone of GitHub, or just somewhere to view Git repositories alongside an issue tracker, wiki, etc., I'd recommend either using Gitorious (the GitHub clone) or Redmine.
Many of the advantages of GitHub (easy forking, user follows, etc.) aren't usually very applicable inside a corporate firewall, so you may find a more traditional software workflow tool like Redmine as or more useful for plain source code management, while offering better functionality for project wikis, issue tracking, and access control.
Also, if you really want the GitHub feature set, why not simply pay them for either hosted private repositories, or go all the way and license GitHub Firewall Install? The up-front cost may seem a lot higher than a DIY solution, but I can say from experience that setting up and administering any of the OSS solutions in this problem space can be a time-consuming distraction from your real work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With