Trying to pull down a remote branch that has been deleted locally

I created a branch in git and pushed it to the remote. I then deleted it locally. Now, I want to pull it again so I can work on it locally and make changes. However, when I try to pull it from the remote, it says ‘already up-to-date’ and I do not see it locally. Can I not pull it anymore because I deleted it once? How can I get it locally again?

  • Git checkout commit, do stuff, and go back to master
  • How can I delete all local branches which would result in no changes if merged into master?
  • Difference between git checkout --track origin/branch and git checkout -b branch origin/branch
  • How to remove local (untracked) files from the current Git working tree?
  • List branches not merged to their upstream
  • Subversion reverting resolved file
  • How can I compare two versions of software, one of which is in a GIT repo?
  • git-credential-winstore prompt does not work with self hosted repositories
  • How can I set upstream repo after adding origin repo in cycligent git tool?
  • Git log: excluding commits from a specific merge
  • How can I link branches with issues in BitBucket?
  • Git, how to “force” a squash rebase
  • One Solution collect form web for “Trying to pull down a remote branch that has been deleted locally”

    Just checkout the branch git checkout branch-name

    Git Baby is a git and github fan, let's start git clone.