title: Git branch diverged
body: <p>I am new to GIT, although I understand it's concept I don't think I understand it's practice as well.</p>
  
  <p>I was given a branch, <code>uitest</code> to work on, because I may have not done the push, commit, pull correctly, I have now diverged the branch.</p>
  
  <p>Because I am new here, n I also don't want to override other devs codes as my code or changes are simply experimental to get used to git and how it works I wouldn't mind discarding my changes as I have a copy of everything I need to re-do everything.</p>
  
  <pre><code>$ git status
  # On branch uitest
  # Your branch and 'origin/uitest' have diverged,
  # and have 47 and 6 different commits each, respectively.
  #
  nothing to commit (working directory clean)
  </code></pre>
  
  <p>How would I undiverge? discard my changes and pull the most recent changes from the latest changes and then continue working without messing other peoples work.</p>
  
  <p>Also, as I am new to this, be a little descriptive about your answer as it may not make much sense to me.</p>
  
  <p>Many thanks</p>