how to remove a file only on remote code example
Example: git remove remote file keep local
# for single file
git rm --cached myfile
# for directory file
git rm --cached --r myfile
# for single file
git rm --cached myfile
# for directory file
git rm --cached --r myfile