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].
[1]: https://emanuelfeld.github.io/blog/2016/04/27/government-git...
[2]: https://18f.gsa.gov/2016/06/16/emanuel-feld-talks-about-his-...