git checkout main git merge MyFix git branch -d MyFix #dp this to delete your now useless MyFix branch, since #should now be up to date with main.