Using Git as off-line alternative for Dropbox

How about using SparkleShare?

SparkleShare is intended for synchronizing projects between multiple contributors automatically using Git. You can use it basically as a tool for automatically saving changes to files it a version controlled Git repository, and don't need to use its multiple contributor features.

It will connect to various services, including BitBucket:

SparkleShare Setup

Here you can see the history it presents of a folder:

Recent Changes

SparkleShare only saves changes and keeps a list of the changes. There is no way (that I know of) to use it to view a file at a particular commit. Clicking on the file in the Recent Changes dialog just opens the newest version.

So, you can use a Git client, such as Giggle Install giggle to view changes at particular commits:

Giggle

However, Giggle will not let you view the actual file at a particular commit, instead forcing you to view changes. So, you might want to use a different client such as gitg Install gitg:

gitg

(The black everywhere is a bug because I'm using the GNOME 3.8 PPA.)

You can install SparkleShare by clicking on this button:

Install via the software center

Or, you can use this command in a terminal:

sudo apt-get install sparkleshare

If you're looking for an advanced backup tool, I'd recommend Back In Time Install backintime-gnome.

enter image description here

You can configure it in many, many ways, but here is how I use it:

  • Take a snapshot every hour
  • Keep hourly snapshots for the past 24 hours
  • Keep daily snapshots for the past 7 days
  • Keep weekly snapshots for the past 4 weeks
  • Keep monthly snapshots for the last 24 months