Using Dropbox as a personal git server

Programers often use git. A tool which makes changelogging and collaboration on easier. The way it works is that one may make changes to a file and give those changes a name as well as comments. The system only saves the changes (and not a backup of the entire file). The File and all of it’s changes can be saved on a server to make it accessible to more than a single computer and to act as a backup if the file on the computer gets erased. It is easy to revert to past versions in the event of an error. Two people can make changes in different areas of the same file and when possible, git will merge those two changes made by two separate people into a single final version.

What servers do you use with git?

The majority of all the code which is version-controlled by git is hosted on GitHub which was recently acquired by Microsoft. Other big names in this area are, BitBucket and GitLab.

But what if you don’t want your code hosted with another company? What if there was a service you perhaps already pay for which could replace them for you?

Meet git-remote-dropbox

Git-remote-dropbox is an open-source project I started using a bit more than a year ago to store git projects I found were not appropriate online (school lab reports, linux configuration files, etc…). The way it works is you give it access to either a specific folder or your entire dropbox and it will use the dropbox API to either add, remove, or edit files in folders you establish as git remote repositories.