Everything up-to-date Branch 'main' set up to track remote branch 'main' from 'origin'. code example
Example: git link local branch to remote branch
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'