how to remove git from project

Shell
rm -rf .git*
rm -rf .git
Source

Also in Shell: