Reset a branch using git reflog and git reset --hard Check your reflog and reset your branch to a previous state. ๐ Check reflog git reflog