title: How can I put local Moodle installation under version control
body: <p>I have setup local installation of Moodle and i have created some courses there and did some customization. Now i want to   </p>
  
  <p>1.) put this under version control on an existing bitbucket project and  </p>
  
  <p>2.) deploy it to  server. </p>
  
  <p>can someone please advise how it can be done.</p>