When comparing Dropbox vs GitHub Pages, the Slant community recommends GitHub Pages for most people. In the question“What are the best website hosting providers?” GitHub Pages is ranked 1st while Dropbox is ranked 16th. The most important reason people chose GitHub Pages is:
One of GitHub's features is a very powerful web editor which helps users edit or even create files right from the web browser, once the file is saved it's the same as a commit. Coupled with pages, this tool becomes even more powerful, giving users a free CMS that is easy to use and create.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy to use
You can use Dropbox via website, by installing a desktop client that creates a folder that you simply drag and drop files into, or with their mobile app. Everything synchronizes across all devices used and cloud storage. And Dropbox offers easy methods of sharing whatever is within it.
Pro Cross-platform desktop and mobile
Dropbox is available on iOS, Android, BlackBerry, Windows, OS X and Linux. By having a client for so many OS's pretty much anyone is covered no matter what kind of device or OS they are using.
Pro Allows sharing a folder
Using a desktop client: right click on the folder you want to share and select Dropbox > Share This Folder, then enter the e-mail addressees of people you want to share the folder with.
Pro Smart updates to big files
If a small portion of the file is changed it sends/receives only the differences (not the whole file), which is fast and bandwidth-efficient.
Pro Allows sharing a single file via link
Whether using desktop client or web interface, simply right click on the file you want to share and select Dropbox > Share link, then send the link to the people you want to share the file with. The recipient does not require a Dropbox account.
Pro Up to 18GB of free storage space
Dropbox personal accounts start out free, with 2GB of space, but users can get extra space by recommending the site to friends, or taking part in events like "Dropquest", where users can win extra space by solving puzzles.

Pro Linux support
Dropbox offers native Linux support, integrates with Nautilus file manager.
Pro Reliable
Pro Desktop client has no file size limit
As long as you have enough storage available, you can upload files of any size using Dropbox desktop client.
Pro Folders can be downloaded compressed to save bandwidth
To save bandwidth and download speed you can choose to compress a folder into a zip archive for download.
Pro Adjustable bandwidth use
To not slow down the network or save traffic you can limit the upload and download speeds of Dropbox.
Pro Lots of addons and integrations
There are official and third-party Dropbox add-ons that extend the functionality of the service and add ease of use of existing features.
Additionally, Dropbox can be integrated with existing applications to bring its functionality to other apps.
Pro 30-day version control
Dropbox keeps deleted and earlier versions of files for a month.
Pro Instant disaster recovery
Your files always synced online means instant disaster recovery. When your hard drive becomes unbootable, pick up another laptop and just carry on with your life from where you last saved.
Pro Available free storage can be increased with referrals
You get extra free space for you and your friend if they sign up.
Pro Fast sync speed
Pro The ability to create and edit files on the web UI gives GitHub pages the same power as a small CMS
One of GitHub's features is a very powerful web editor which helps users edit or even create files right from the web browser, once the file is saved it's the same as a commit. Coupled with pages, this tool becomes even more powerful, giving users a free CMS that is easy to use and create.
Pro Supports Jekyll
A simple, blog-aware static site generator, Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers some other advanced templating features.
Pro Supports custom domains
A custom domain can be added by creating a CNAME file with the necessary domain in the root of the repository and adding/changing corresponding DNS entries.
Pro Free tier
Static websites can be hosted on GitHub Pages for free as long as the repository is public. Private repositories start at $7/mo.
Pro Allows for all the git features when building your site, too
Cons
Con Too little free space
There is just too little of free space available comparing to the competition.

Con Not secure
They don't apply end-to-end encryption, files are visible to admins, governments, etc..
Con No privacy
Extensive collecting and distribution of user data to commercial third parties.
Con Consumes a lot of CPU resources when syncing many files
Con All-or-nothing (non-selective) upload
Uploading generated contents (cache, compiled code, etc.) is prone to conflicts, wastes bandwidth and free space.
Con Low bandwidth
Con Dropbox keeps deleting features, chasing customers away
For instance, all photo albums got deleted. It used to be very easy to share a couple og photos, now it's PAINFUL and must be done file by file.
Con Nocive development model
Takes a lot of decisions that usually damage community, from deleting features to making impossible to use with other filesystems than ext4 because they decided without a plausible reason (they said it was about xattrs, but all modern linux filesystems supports xattrs, so it's bs.)(they remove this later, but it's too late).
Con Problems when synching between Linux and Windows devices (unconfirmed)
This summer I lost thousands of files due to this problem on older projects which subsequently needed revising and had to be rebuilt as tons of the source was gone.
Con Restricted only to 3 devices for FREE accounts
Recently dropbox decreased the number of linked devices to 3, so you can't have more than 3 linked devices. This is problematic if you use Dropbox to sync between your computers.
Con Can unintentionally delete your files if you reinstall your OS without closing Dropbox
If you reinstall the operation system for your PC and you do not close Dropbox, it will delete all files.
Con Unable to set cache expiry, must accept GitHub defaults (which are short)
Low cache expires - GitHub sets the cache-control: max-age header to 600 seconds, or ten minutes. Normally, you would set this value to a year so that it stays cached, and then use fingerprinting on your assets. Instead of serving style.css, you would serve something like style-62c887ea7cf54e743ecf3ce6c62a4ed6.css. As it stands now, assets are rarely going to be cached on repeat visits.
This will give a low score on https://developers.google.com/speed/pagespeed/insights with a 'should fix' recommendation around 'Leverage browser caching'.
For a high traffic site this may have implications
