title: How to back up private branches in git
body: <p>I have a local branch for day-to-day dev work in git. My workflow is:</p>
  
  <ol>
  <li>Do stuff on local_branch, commit</li>
  <li>Fetch origin/master </li>
  <li>Rebase local_branch to catch up with new stuff from origin/master</li>
  </ol>
  
  <p>It all works fine, however most of the recommendations I encountered say that one should not "push" private branches, on which rebase is regularly performed.</p>
  
  <p>The problem here is that in this case local branch is not backed up to a server and the only way to save the work is to merge it back to "pushable" branch (i.e. origin/master)</p>
  
  <p>What would be your recommendations on the workflow in this case? </p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE</strong>: I realised that one of the original requirements I had (avoiding usage of external utilities) is unnecessary limiting.</p>
  
  <p>My current solution is to store all my repositories in a cloud-synchronised folder - this   way I get backup for free.</p>