how to disconnect a folder from github 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
Example 3: git remove from folder
rm -rf .git