It's not as simple as github.com/usgov but some of what you're looking for is certainly there. If the government has rights to the source code then it can fall under FOIA. They have ways of denying those requests but only with the proper documentation.