git change main back to master code example Example: change master to main git $ git branch -m master main