Skip to content

git branch

Set an existing branch to track a remote branch

git branch -u upstream/foo

Untrack a remote branch

git branch --unset-upstream