Cause: Directory where you want to install Magento or any application needs to be empty ie. there should be no contents.
To check use the command: ls -a
and remove unnecessary files
so here folder project-community-edition is extra and we need to remove it so
use command: rm -rv pro*
you too can use the same command just change pro to initials of your folder name if you have multiple folders remove all by same.