git pull without deleted branch code example
Example 1: branch is deleted from remote but still showing git
git remote prune origin
Example 2: git force pull from upstream discard changes
git reset --hard
git pull
git remote prune origin
git reset --hard
git pull