It is possible to use Dropbox as a "remote" repository. It is not perfect, updating or pushing to the remote from two location simultaniously will surely corrupt the repository. That being said it is a practical trick for syncing repositories between computers without both having write access to "origin" (i.e. github, gitlab or the like).
I store the repositories in a directory "git" in my dropbox folder. Create it if it does not yet exist, or make up you own
name:
mkdir ~/Dropbox/git/
- Change to the repository for which you want to create a remote