git init at wrong folder

Shell
 cd myFolder
 rm -rf .git

Source

Also in Shell: