ubuntu remove git from folder

Shell
rm -rf .git
Source

Also in Shell: