People with workflows like `git add .; git commit -m 'fix'` can push wondrous things to public repos.
I'd guess that most of us wouldn't do it by just "git init" in the home directory. There are many safer ways than that.
But we were all newbs once, and often even the newbs have access to various keys and credentials.