What kind of sharing are you aiming to do? How big is your collection, and how many people are you sharing it with? If you'd like something to synchronize directories, you could use rsync. But you'd have to be more specific.
As for uses other than source code, there are some wikis which use git as their storage back end, for tracking versions.