title: RESTful API over Git repository
body: <p>I want to host a Git remote repository of my own and then expose it over a REST API from my application(spring boot). My question is how would the clone/fork etc would work ? 
  Is it techincally feasible to transfer all the files/content in the repository over an Http response when a client calls my clone API ? 
  Has anyone achieved this and what would be the best approach ?</p>