I've been thinking about this recently also. I can't think of any downsides off the top of my head but I might be blinded by the idea? Can you?
There's a size limit to consider: GitHub won't let you push a file larger than 100MB and prefer you to keep the repo itself below 2GB.
Most of my scraping projects are a tiny fraction of that size though.