Rebasing is safe as long as you only do it to commits you haven&#x27;t shared yet. Of course the risk is that if rebasing becomes your default, there&#x27;s a risk you might also do it on a commit you already have shared.<p>As any time traveler knows, you need to be careful when you rewrite history.