how to remove git file from directory code example
Example 1: remove git tracking
/* Remove Git tracking from an entire folder/directory */
cd project-name // Navigate to the project directory
rm -rf .git // Remove git tracking
Example 2: git remove folder remotely
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master