-1

I am currently working about 2 years on my own for a big (this is my estimation) project. I would like to find the best way in order to have a proof that the code is mine. I mean about the case that somebody steals the code, I would like to have a proof about who wrote the code.

Is a private Github project and the commits in specific days a proof in a court?

Or else what is the best way to secure something like this?

I tried to find the best solution with google search but didn't found the specific answer

Paul Johnson
  • 14,252
  • 3
  • 39
  • 63

1 Answers1

5

Proving a fact in court generally means convincing the judge (or jury) that the probability of the fact being true exceeds some threshold. This is known as the "standard of proof". For civil cases the standard of proof is generally "on the balance of probabilities" which means that it is >50% likely that the fact is true.

There is usually not any one thing that is required to prove a fact. What's important is that your set of evidence is more convincing than your opponent's set of evidence. If you can show that you uploaded your code to Github on a specific date, and your opponent's only evidence is that they uploaded the code a month later, then you may have proved your case. If your opponent can additionally show evidence that they emailed a copy of the code to a friend the previous year, then you may have failed to prove your case.

Having a Github commit on a given date doesn't prove that you wrote the code. It's merely evidence that might support such an assertion. Someone else could have written it and then you uploaded it. Ideally it should be just one item of evidence out of a set which, taken together, is as convincing as possible.

JBentley
  • 12,609
  • 32
  • 60