Algodeal has a system where they give you a little PDF certificate with an MD5 (or some other hashing function, I can't remember) - which you can use to, ostensibly, prove that you gave them certain code.
I'm not exactly sure how that would be worked out to prove when someone stole your code...