In my case, the issue was related to two branches having the same name (one uppercase, one lower case). Once I removed the "duplicate" branch from remote origin, I ran the following:
git fetch --prune origin
and the [new branch] message stop showing after every pull. For documentation on prune…
Top comments (0)