remove git history from repo code example
Example 1: remove git from project
rm -rf .git*
Example 2: git remove directory from tracking
Remove the folder from your local git tracking, but keep it on your disk.
git rm -r --cached path_to_your_folder/