Quick guide to rename a Git branch locally and update the remote with safe commands and practical tips.