What was GitHub programmed in?

The fundamental software that underpins GitHub is Git itself, written by Linus Torvalds, creator of Linux. The additional software that provides the GitHub user interface was written using Ruby on Rails and Erlang by GitHub, Inc. developers Wanstrath, Hyett, and Preston-Werner.

Read more

How do I generate stats on GitHub?

You can find the link to the left of the nav bar. You should have a look to repoXplorer, an open source project I develop . It is able to compute stats for a project (a group of git repositories) as well as for a contributor and a group of contributors. It provides a REST interface and a web UI.

Read more