title: Can someone please help me make meaning of diff in git and svn
body: <p>This is the output I get of the diff</p>
  
  <pre><code>diff --git a/README.md b/README.md
  index cda48bc..95ce355 100644
  --- a/README.md
  +++ b/README.md
  @@ -1,3 +1,3 @@
   THIS IS LINE 1
  -THIS IS LINE 2
  +THIS IS LINE X
   THIS IS LINE 3
  </code></pre>
  
  <p>File in workspace looks like this</p>
  
  <pre><code> THIS IS LINE 1
   THIS IS LINE X
   THIS IS LINE 3
  </code></pre>
  
  <p>File in staging looks like this</p>
  
  <pre><code> THIS IS LINE 1
   THIS IS LINE 2
   THIS IS LINE 3
  </code></pre>
  
  <p>So what does the following mean... I really don't understand the diff output</p>
  
  <pre><code>diff --git a/README.md b/README.md
  index cda48bc..95ce355 100644
  --- a/README.md
  +++ b/README.md
  @@ -1,3 +1,3 @@
   THIS IS LINE 1
  -THIS IS LINE 2
  +THIS IS LINE X
   THIS IS LINE 3
  </code></pre>