title: Git clone and overwrite local repository
body: <p>I would like to have an up to date copy (periodically) of the bitbucket repo on my server, but not sure which git commands I have to issue to avoid potential merge conflicts that can happen with pulls.<br>
  The only clean way I can think of is to clone to a tmp dir then copy/overwrite local repo.<br>
  But there must be a better way to achieve this?</p>