remove git for folder 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: gremove folder from git
git rm -r --cached FolderName
git commit -m "Removed folder from repository"
git push origin master