I did this and the files in /storage folder in my server WERE NOT being replaced by the /storage folder in GitHub?

I tried it when /storage is included and not included in .gitignore.

See, the “deploy” method should produce an exact copy of the files and folders in live server from GitHub. But it would make sense if you already have bunch of existing images and other files in the live server then being replaced by GitHub whose /storage folder contains test images and files in local server