This question should probably be posted at superuser.com, but I guess we've got some more git experts here..
What I'd like to do is to use git as a backup tool, but WITHOUT having a local .git directory with all it's contents on the working machine.
I could do it by symlinking the .git directory to the backup disk, but maybe there's a better way? Also, I'd like to use ssh instead of mounting an USB disk, so the backup disk could be somewhere else.
The reason for this, if anybody wonders, is that I want to backup my music collection from a laptop with a limited drive. Having all the files twice within the .git directory seems a bit overkill.