Fix when remote default branch is renamed ref: github tip git branch -m <old> <new> git fetch origin git branch -u origin/<new> <new> git remote set-head origin -a