remove git from project

Shell
rm -rf .git*
rm -rf .git/* Remove Git tracking from an entire folder/directory */

cd project-name // Navigate to the project directory
rm -rf .git // Remove git tracking 
rm -rf .git

Source

Also in Shell: