Sync local branches with remote branches. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-sync.
git-extras
git sync
git sync origin main
git sync -s remote_name branch_name