I don’t know is here is a proper place to ask that question, but I’m noticed that all files I created have their duplicates with ~ ending. For example:
index.php
index.php~
home.php
home.php~
show.php
show.php~
and so on.
What does this mean? Can I delete it?
Files ending with a ~ character are usually backups, under linux systems. It is safe to delete them, after you made sure that you no longer need it/them.