git-sync
Sync local branches with remote branches. tldr-pages
On several platforms
Several platforms
Sync local branches with remote branches. Part of git-extras.
Sync the current local branch with its remote branch
git syncIdentifySync the current local branch with the remote main branch
git sync origin mainIdentifySync without cleaning untracked files
git sync --soft remote_name branch_nameIdentify