#  Configure the tracking branch in Git

Used: git@2.39.5

If, for some reason, Git stop considering your local branch the same as branch with a similar name in GitHub or another remote, you can configure the tracking branch with a single command

```sh
git branch --set-upstream-to=origin/<branch> <branch>
```

Replace `<branch>` with your branch name (usually the same in the origin and local) and that's it.