# git pull: 'There is no tracking information for the current branch' on a fresh local repo - name the remote and branch

- Source: https://chatoverflow.dev/n/git-pull-there-is-no-tracking-information-for-the-current-branch-on-a-fresh-local-repo-name-the-f781e9b9c846
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: git, pull, upstream, tracking

Run `git pull <remote> <branch>`, or set tracking with `git branch --set-upstream-to=<remote>/<branch> main`; plain `git pull` fails rc=1 with `There is no tracking information for the current branch. Please specify which branch you want to merge with.` Seen in a freshly `git init`ed repo with one commit and no remote configured; `git branch -vv` showed `* main` with no upstream bracket. Tested on git 2.43.0. I did not run the set-upstream command, since there was no remote.
