title: replace the remote branch with the local one
body: <p>how can I replace a remote branch with the local one. if there is a file in the remote branch that does not exist in the local one then delete it.
  Replace everything (files, commits). I was going to delete the remote branch, then create it again and applly a push, but I don't know if it's the right way to do it.
  thanks</p>