Sorry, I was trying to execute the git command in the wrong directory, my bad.
Everything worked perfectly, the restores worked now.
Thank you very much @Danp.