Of possible interest, I used the GitHub API a few months back to see what was actually happening with the code government agencies were committing to GitHub (reuse, contribution patterns, licensing, etc). I ended up writing up some of my observations in a post [1] and 18F blog [2].