Hello. In the local repository, the file was deleted, trying to get it from the remote one with the commands of git fetch origin master, and then the git pull origin master, but it never appears. What am I doing wrong?

    1 answer 1

    To restore a file from an arbitrary branch (including the deleted one), run the checkout command.

    git checkout origin/master имя_файла