First, double check that the branch has been removed remotely using the git ls-remote origin . If a new branch appears on the output, try and give the git fetch command: it should load the links to the branch from the remote repository.
If your remote branch is still not displayed, double-check (in the output of ls-remote ) what the branch name is on the remote control and, in particular, if it starts with refs/heads/ . This is because the default value for remote.<name>.fetch is:
+refs/heads/*:refs/remotes/origin/*
so only remote links whose name begins with refs/heads/ will be displayed locally as remote tracking links in the refs/remotes/origin/ section (i.e. they will become remote tracking branches)
Marco Leogrande Oct. 06 2018-12-12T00: 00Z
source share